Skip to content

Commit

Permalink
Migrate GitHub actions from AdoptOpenJDK to Eclipse Temurin [HZ-4195] (
Browse files Browse the repository at this point in the history
…#305)

The `setup-java` [documentation highlights that AdoptOpenJDK no longer
receives security
updates](https://github.com/actions/setup-java#:~:text=NOTE%3A%20AdoptOpenJDK%20got%20moved%20to%20Eclipse%20Temurin),
and instead the Eclipse Temurin JDK should be used.

Fixes [HZ-4195](https://hazelcast.atlassian.net/browse/HZ-4195)
  • Loading branch information
JackPGreen committed Jan 24, 2024
1 parent 61e33f7 commit dd87980
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
matrix:
java: [ '11' ]
architecture: [ 'x64' ]
distribution: [ 'adopt' ]
distribution: [ 'temurin' ]
name: Build
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'adopt'
distribution: 'temurin'
server-id: deploy-repository
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
matrix:
java: [ '11' ]
architecture: [ 'x64' ]
distribution: [ 'adopt' ]
distribution: [ 'temurin' ]
name: Build SNAPSHOT version with JDK ${{ matrix.java }}
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit dd87980

Please sign in to comment.