Skip to content

Commit

Permalink
ci: use 'temurin' instead of 'adopt'
Browse files Browse the repository at this point in the history
https://github.com/actions/setup-java/blob/main/README.md

"It is highly recommended to migrate workflows from adopt
to temurin to keep receiving software and security updates."
  • Loading branch information
sullis authored and jqno committed Oct 18, 2021
1 parent db04ec0 commit 653dcf3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ jobs:
continue-on-error: false
cache-id: "jdk8"
java: 8
dist: adopt
dist: temurin
flags: "-DdisableStaticAnalysis"
- title: "Supported JDK 11"
continue-on-error: false
cache-id: "jdk11"
java: 11
dist: adopt
dist: temurin
flags: ""
- title: "Supported JDK 17"
continue-on-error: false
cache-id: "jdk17"
java: 17
dist: adopt
dist: temurin
flags: ""
- title: "Experimental JDK EA (simplified)"
continue-on-error: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pitest-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'adopt'
distribution: 'temurin'
java-version: 11
- name: Download artifact
uses: dawidd6/action-download-artifact@v2
Expand All @@ -38,6 +38,6 @@ jobs:
workflow_conclusion: success
- name: update pull request
# The updatePR maven goal is used here with an explicit version. This allows us to upload without checking out
# the code, but does mean the version here must be maintained. An alternative would be to checkout the code and use
# the code, but does mean the version here must be maintained. An alternative would be to checkout the code and use
# the github goal. This will work as long as the artifact is extracted to the maven target directory
run: mvn -DrepoToken=${{ secrets.GITHUB_TOKEN }} com.groupcdg:pitest-github-maven-plugin:0.1.0:updatePR
2 changes: 1 addition & 1 deletion .github/workflows/pitest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'adopt'
distribution: 'temurin'
java-version: 11
- name: run pitest
# pitest has been bound to a profile called pitest for normal running
Expand Down

0 comments on commit 653dcf3

Please sign in to comment.