File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1111 # Runs every day at 03:00 UTC
1212 - cron : ' 0 3 * * *'
1313 workflow_dispatch :
14+ workflow_call :
1415
1516env :
1617 JDKS_DIR : jdks
Original file line number Diff line number Diff line change @@ -12,7 +12,10 @@ permissions:
1212 actions : read
1313
1414jobs :
15+ cache-jdks :
16+ uses : ./.github/workflows/cache_java.yml
1517 test-linux-glibc-amd64 :
18+ needs : cache-jdks
1619 strategy :
1720 fail-fast : false
1821 matrix :
@@ -24,10 +27,10 @@ jobs:
2427 - name : Set enabled flag
2528 id : set_enabled
2629 run : |
27- echo "::set-output name= enabled:: true"
30+ echo "enabled= true" >> $GITHUB_OUTPUT
2831 if [[ "${{ matrix.java_version }}" =~ -zing ]]; then
2932 if [[ "${{ matrix.config }}" != "release" ]] && [[ "${{ matrix.config }}" != "debug" ]]; then
30- echo "::set-output name= enabled:: false"
33+ echo "enabled= false" >> $GITHUB_OUTPUT
3134 fi
3235 fi
3336 - uses : actions/checkout@v3
@@ -108,6 +111,7 @@ jobs:
108111 path : reports
109112
110113 test-linux-musl-amd64 :
114+ needs : cache-jdks
111115 strategy :
112116 fail-fast : false
113117 matrix :
@@ -197,6 +201,7 @@ jobs:
197201 path : reports
198202
199203 test-linux-glibc-aarch64 :
204+ needs : cache-jdks
200205 strategy :
201206 fail-fast : false
202207 matrix :
@@ -210,10 +215,10 @@ jobs:
210215 - name : Set enabled flag
211216 id : set_enabled
212217 run : |
213- echo "::set-output name= enabled:: true"
218+ echo "enabled= true" >> $GITHUB_OUTPUT
214219 if [[ "${{ matrix.java_version }}" =~ -zing ]]; then
215220 if [[ "${{ matrix.config }}" != "release" ]] && [[ "${{ matrix.config }}" != "debug" ]]; then
216- echo "::set-output name= enabled:: false"
221+ echo "enabled= false" >> $GITHUB_OUTPUT
217222 fi
218223 fi
219224 - uses : actions/checkout@v3
You can’t perform that action at this time.
0 commit comments