Skip to content

Commit

Permalink
Migrate actions/setup-java to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Apr 14, 2021
1 parent 8345c1c commit e0f7874
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
uses: actions/setup-java@v2 # https://github.com/actions/setup-java
with:
java-version: 8
distribution: 'adopt'

- name: 3. Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1 # https://github.com/gradle/wrapper-validation-action
Expand Down Expand Up @@ -64,6 +65,7 @@ jobs:
uses: actions/setup-java@v2 # https://github.com/actions/setup-java
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'

- name: 3. Build on ${{ matrix.os }} with Java ${{ matrix.java }}
run: ./gradlew build bintrayUpload idea -PbintrayDryRun
Expand Down Expand Up @@ -92,6 +94,7 @@ jobs:
uses: actions/setup-java@v2
with:
java-version: 8
distribution: 'adopt'

- name: Build and publish to Bintray/MavenCentral
run: |
Expand Down

0 comments on commit e0f7874

Please sign in to comment.