Merge branch 'master' into master
This commit is contained in:
commit
5558d6a8d1
1 changed files with 9 additions and 4 deletions
13
.github/workflows/gradle-publish.yml
vendored
13
.github/workflows/gradle-publish.yml
vendored
|
@ -4,6 +4,7 @@
|
|||
name: Gradle Package
|
||||
|
||||
on:
|
||||
|
||||
release:
|
||||
types: [created]
|
||||
|
||||
|
@ -17,14 +18,18 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 8
|
||||
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '8'
|
||||
distribution: 'zulu'
|
||||
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: ./gradlew build
|
||||
run: gradle build
|
||||
|
||||
|
||||
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
|
||||
# the publishing section of your build.gradle
|
||||
|
|
Loading…
Reference in a new issue