Updating GHES workflows
This commit is contained in:
@@ -1,37 +0,0 @@
|
||||
# This workflow will build a package using Gradle and then publish it to GitHub packages when a release is created
|
||||
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#Publishing-using-gradle
|
||||
|
||||
name: Gradle Package
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'adopt'
|
||||
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
|
||||
settings-path: ${{ github.workspace }} # location for the settings.xml file
|
||||
|
||||
- name: Build with Gradle
|
||||
run: gradle build
|
||||
|
||||
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
|
||||
# the publishing section of your build.gradle
|
||||
- name: Publish to GitHub Packages
|
||||
run: gradle publish
|
||||
env:
|
||||
USERNAME: ${{ github.actor }}
|
||||
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -1,28 +0,0 @@
|
||||
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
|
||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
|
||||
|
||||
name: Java CI with Gradle
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ $default-branch ]
|
||||
pull_request:
|
||||
branches: [ $default-branch ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'adopt'
|
||||
cache: gradle
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"name": "Publish Java Package with Gradle",
|
||||
"description": "Build a Java Package using Gradle and publish to GitHub Packages.",
|
||||
"iconName": "gradle",
|
||||
"categories": ["Continuous integration", "Java", "Gradle", "Spring", "JSF"]
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"name": "Java with Gradle",
|
||||
"description": "Build and test a Java project using a Gradle wrapper script.",
|
||||
"iconName": "gradle",
|
||||
"categories": ["Continuous integration", "Java", "Gradle", "Spring", "JSF"]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 66.06"><defs><linearGradient id="a" x1="1.5" y1="29.09" x2="88.3" y2="38.21" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#06a0ce"/><stop offset="1" stop-color="#51cbbf"/></linearGradient></defs><path d="M85.11 4.18a14.27 14.27 0 00-19.83-.34 1.38 1.38 0 000 2L67 7.6a1.36 1.36 0 001.78.12A8.18 8.18 0 0179.5 20.06C68.17 31.38 53.05-.36 18.73 16a4.65 4.65 0 00-2 6.54l5.89 10.17a4.64 4.64 0 006.3 1.73l.14-.08-.11.08L31.53 33a60.29 60.29 0 008.22-6.13 1.44 1.44 0 011.87-.06 1.34 1.34 0 01.06 2A61.61 61.61 0 0133 35.34h-.09L30.3 36.8a7.34 7.34 0 01-3.61.94 7.45 7.45 0 01-6.47-3.71l-5.57-9.61C4 32-2.54 46.56 1 65a1.36 1.36 0 001.33 1.11h6.28A1.36 1.36 0 0010 64.87a9.29 9.29 0 0118.42 0 1.35 1.35 0 001.34 1.19h6.14a1.36 1.36 0 001.34-1.19 9.29 9.29 0 0118.42 0A1.36 1.36 0 0057 66.06h6.1a1.36 1.36 0 001.36-1.34c.14-8.6 2.46-18.48 9.07-23.43C96.43 24.16 90.41 9.48 85.11 4.18zM61.76 30.05l-4.37-2.19a2.74 2.74 0 114.37 2.2z" fill="url(#a)"/></svg>
|
||||
|
Before Width: | Height: | Size: 1.0 KiB |
Reference in New Issue
Block a user