Skip to content

Commit

Permalink
Try to fix deploy
Browse files Browse the repository at this point in the history
- Specify a java distribution from
https://github.com/actions/setup-java?tab=readme-ov-file#supported-distributions

- Use temurin since the above doc recommends against adopt
  • Loading branch information
rudi committed Aug 1, 2024
1 parent 8ddb3e0 commit 5f611a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17' # Use the JDK version your project requires
distribution: 'adopt-openjdk'
java-version: '17'
distribution: 'temurin'

- name: Build and deploy
env:
Expand Down
2 changes: 1 addition & 1 deletion .java-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
17.0
17

0 comments on commit 5f611a2

Please sign in to comment.