Skip to content

Commit

Permalink
Move Java version into file (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton authored Jan 8, 2025
1 parent 6f6cfdd commit 9524413
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/.java-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
21
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21
java-version-file: .github/.java-version

- run: ./gradlew build dokkaHtml

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21
java-version-file: .github/.java-version

- name: Build and publish artifacts
env:
Expand Down

0 comments on commit 9524413

Please sign in to comment.