Repository navigation
Commit 496805c
committed
Specify Java 21 using asdf's .tool-versions
This is motivated by guardian/gha-scala-library-release-workflow#31 -
initially I was just thinking about updating to Java 21, but now I think
that making projects declare which Java version they use to build is
probably a good thing!
Note that we're using asdf's .tool-versions file here, which has recently gained
support in actions/setup-java#606 - this means that
we can also get _all_ our GitHub Actions files to respect the Java version
definied in that file - eg, we can reference it in ci.yml, and we don't need
to update Java version in there anymore.1 parent 1825fd8 commit 496805c
2 files changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments