Specify JDK version for CI in .tools-versions file
This commit is contained in:
parent
ebfa4bba7f
commit
0935cc473b
5 changed files with 5 additions and 4 deletions
2
.github/workflows/app-build.yaml
vendored
2
.github/workflows/app-build.yaml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 21
|
||||
java-version-file: .tools-versions
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@f29f5a9d7b09a7c6b29859002d29d24e1674c884 # v5.0.1
|
||||
- name: Assemble debug APKs
|
||||
|
|
|
|||
2
.github/workflows/app-lint.yaml
vendored
2
.github/workflows/app-lint.yaml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 21
|
||||
java-version-file: .tools-versions
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@f29f5a9d7b09a7c6b29859002d29d24e1674c884 # v5.0.1
|
||||
- name: Run detekt and lint tasks
|
||||
|
|
|
|||
2
.github/workflows/app-publish.yaml
vendored
2
.github/workflows/app-publish.yaml
vendored
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 21
|
||||
java-version-file: .tools-versions
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@f29f5a9d7b09a7c6b29859002d29d24e1674c884 # v5.0.1
|
||||
- name: Set JELLYFIN_VERSION
|
||||
|
|
|
|||
2
.github/workflows/app-test.yaml
vendored
2
.github/workflows/app-test.yaml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 21
|
||||
java-version-file: .tools-versions
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@f29f5a9d7b09a7c6b29859002d29d24e1674c884 # v5.0.1
|
||||
- name: Run test task
|
||||
|
|
|
|||
1
.tools-versions
Normal file
1
.tools-versions
Normal file
|
|
@ -0,0 +1 @@
|
|||
java 21
|
||||
Loading…
Reference in a new issue