mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-08-27 19:36:36 +00:00
use environment variables and update current jdk
This commit is contained in:
@@ -5,7 +5,7 @@ on:
|
|||||||
- cron: '0 0 1 * *' # run once a month at the first day of month
|
- cron: '0 0 1 * *' # run once a month at the first day of month
|
||||||
|
|
||||||
env:
|
env:
|
||||||
JDK_VERSION: 21.0.0
|
JDK_VERSION: '21.0.1+12'
|
||||||
JDK_VENDOR: zulu
|
JDK_VENDOR: zulu
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -17,8 +17,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-java@v3
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: 21.0.0
|
java-version: ${{ env.JDK_VERSION }}
|
||||||
distribution: zulu
|
distribution: ${{ env.JDK_VENDOR }}
|
||||||
check-latest: false
|
check-latest: false
|
||||||
- name: Read JAVA_VERSION_DATE and store in env variable
|
- name: Read JAVA_VERSION_DATE and store in env variable
|
||||||
id: get-data
|
id: get-data
|
||||||
@@ -35,7 +35,7 @@ jobs:
|
|||||||
- uses: actions/setup-java@v3
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: 21
|
java-version: 21
|
||||||
distribution: zulu
|
distribution: ${{ env.JDK_VENDOR }}
|
||||||
check-latest: true
|
check-latest: true
|
||||||
- name: Read JAVA_VERSION_DATE and store in env variable
|
- name: Read JAVA_VERSION_DATE and store in env variable
|
||||||
id: get-data
|
id: get-data
|
||||||
|
|||||||
Reference in New Issue
Block a user