File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -24,20 +24,19 @@ jobs:
24
24
id : get-latest-corretto-url
25
25
run : |
26
26
JDK_URL=$(curl -LIs -o /dev/null -w %{url_effective} https://corretto.aws/downloads/latest/amazon-corretto-17-x64-linux-jdk.tar.gz)
27
- echo $JDK_URL
28
- echo "{URL}={$JDK_URL}" >> $GITHUB_OUTPUT
27
+ echo "URL=$JDK_URL" >> $GITHUB_OUTPUT
29
28
30
29
- uses : actions/cache@v3
31
30
id : corretto-cache
32
31
name : Restore Corretto
33
32
with :
34
33
path : ./amazon-corretto-17-x64-linux-jdk.tar.gz
35
- key : ${{ runner.os }}-corretto-${{ steps.get-latest-corretto-url.outputs.___URL }}
34
+ key : ${{ runner.os }}-corretto-${{ needs. steps.get-latest-corretto-url.outputs.___URL }}
36
35
37
36
- name : Download AWS Corretto
38
37
if : steps.corretto-cache.outputs.cache-hit != 'true'
39
38
# run: wget https://corretto.aws/downloads/latest/amazon-corretto-17-x64-linux-jdk.tar.gz
40
- run : wget ${{ steps.get-latest-corretto-url.outputs.___URL }}
39
+ run : wget ${{ needs. steps.get-latest-corretto-url.outputs.___URL }}
41
40
42
41
- name : ☕ Set up JDK 17
43
42
uses : actions/setup-java@v3
You can’t perform that action at this time.
0 commit comments