Skip to content

Commit

Permalink
[GH-1] Fix incorrect target release, unify Java distribution in all a…
Browse files Browse the repository at this point in the history
…ctions.
  • Loading branch information
ledsoft committed Jun 7, 2024
1 parent 9589f6a commit 58678d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-to-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'

# Runs a set of commands using the runners shell
Expand All @@ -32,7 +32,7 @@ jobs:
uses: actions/setup-java@v4
with: # running setup-java again overwrites the settings.xml
distribution: 'temurin'
java-version: '17'
java-version: '21'
server-id: akaene # Value of the distributionManagement/repository/id field of the pom.xml
server-username: MAVEN_USERNAME # env variable for username in deploy
server-password: MAVEN_PASSWORD # env variable for password in deploy
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull-request-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
java-version: '21'
distribution: 'temurin'

# Runs a set of commands using the runners shell
- name: Test
Expand Down

0 comments on commit 58678d2

Please sign in to comment.