Skip to content

Commit

Permalink
Update gradle and improve realiablitity of actions (#1804)
Browse files Browse the repository at this point in the history
* improve github actions

* fix

* update gradle and fix
  • Loading branch information
modmuss50 authored Oct 13, 2020
1 parent 24ea2b9 commit d1aa849
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@ jobs:
build:
strategy:
matrix:
java-version: [1.8, 11, 14]
java: [8-jdk, 11-jdk, 14-jdk]
runs-on: ubuntu-20.04
container:
image: openjdk:${{ matrix.java }}
options: --user root
steps:
- uses: actions/checkout@v1
- uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java-version }}
- uses: eskatos/[email protected]
with:
gradle-version: wrapper
arguments: build javadocJar checkMappings --stacktrace
- run: ./gradlew build javadocJar checkMappings --stacktrace
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit d1aa849

Please sign in to comment.