Skip to content

Commit

Permalink
update workflows for java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
gstoehld committed Dec 2, 2022
1 parent 6d4c6f3 commit 46f5905
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 17
distribution: 'zulu'
- name: Cache SonarCloud packages
uses: actions/cache@v1
with:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/tagged_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ jobs:
- uses: actions/checkout@v2
- run: |
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 17
distribution: 'zulu'
- name: Build with Maven
run: |
mvn install --file swisscovid-cn-sdk-backend/pom.xml;
Expand Down

0 comments on commit 46f5905

Please sign in to comment.