Skip to content

Commit

Permalink
Update setup-java actions to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
janssen-tiobe authored Sep 4, 2023
1 parent 7a96912 commit 66a56c7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ jobs:
id: setname
run: echo "artifact=DutchPickle-${{needs.gitversion.outputs.fullSemVer}}" >> $GITHUB_OUTPUT
- name: Setup Java JDK
uses: actions/setup-java@v1.4.4
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
cache: gradle
- name: Build
#working-directory: checker
run: ./gradlew -PCHECKERVERSION="${{needs.gitversion.outputs.fullSemVer}}" --no-daemon distZip
Expand All @@ -48,7 +50,7 @@ jobs:
mkdir ./build-artifact
cp ./build/distributions/DutchPickle.zip ./build-artifact/${{steps.setname.outputs.artifact}}.zip
- name: Upload build Artifact
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v3
with:
name: ${{steps.setname.outputs.artifact}}
path: ./build-artifact/${{steps.setname.outputs.artifact}}.zip
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Java JDK
uses: actions/[email protected]
with:
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
cache: gradle
- name: Build
#working-directory: checker
run: ./gradlew clean build jacocoTestReport

0 comments on commit 66a56c7

Please sign in to comment.