File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 11
11
paths-ignore :
12
12
- ' **/README.md'
13
13
- ' .run/**'
14
-
15
- env :
16
- JDK_URL : https://corretto.aws/downloads/latest/amazon-corretto-17-x64-linux-jdk.tar.gz
17
- JDK_FILE : ./amazon-corretto-17-x64-linux-jdk.tar.gz
18
-
19
14
jobs :
20
15
build :
21
16
name : 🎉 Build
@@ -27,13 +22,13 @@ jobs:
27
22
28
23
- name : Get latest Corretto URL
29
24
id : get-latest-corretto-url
30
- run : echo "{URL}={$(curl -LIs -o /dev/null -w %{url_effective} $JDK_URL)} " >> $GITHUB_OUTPUT
25
+ run : echo "{URL}={$(curl -LIs -o /dev/null -w %{url_effective} https://corretto.aws/downloads/latest/amazon-corretto-17-x64-linux-jdk.tar.gz) " >> $GITHUB_OUTPUT
31
26
32
27
- uses : actions/cache@v3
33
28
id : corretto-cache
34
29
name : Restore Corretto
35
30
with :
36
- path : $JDK_FILE
31
+ path : ./amazon-corretto-17-x64-linux-jdk.tar.gz
37
32
key : ${{ runner.os }}-corretto-${{ steps.get-latest-corretto-url.outputs.___URL }}
38
33
39
34
- name : Download AWS Corretto
46
41
distribution : jdkfile
47
42
java-version : ' 17'
48
43
architecture : x64
49
- jdkFile : $JDK_FILE
44
+ jdkFile : ./amazon-corretto-17-x64-linux-jdk.tar.gz
50
45
51
46
- name : 🔢 Grant execute permission for gradlew
52
47
run : chmod +x gradlew
You can’t perform that action at this time.
0 commit comments