Skip to content

Commit

Permalink
Update actions/setup-java to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
jakzal committed Feb 18, 2023
1 parent 0e33706 commit 429655e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ jobs:
echo $BUILD_VERSION
echo "BUILD_VERSION=$BUILD_VERSION" >> $GITHUB_ENV
- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 1.8
java-version: 8
distribution: 'zulu'
- name: Configure gradle ${{ matrix.gradle-version }}
run: sed -i.bkp -e 's/\(distributionUrl=.*gradle\)-[0-9]*\.[0-9]*\(\.[0-9]*\)\{0,1\}\(.*\)/\1-${{ matrix.gradle-version }}\3/' gradle/wrapper/gradle-wrapper.properties
if: ${{ matrix.gradle-version != 'current' }}
Expand Down

0 comments on commit 429655e

Please sign in to comment.