Skip to content

Commit c86eca1

Browse files
committed
runner updated.
1 parent 35a0a78 commit c86eca1

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/android-ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ jobs:
2222

2323
- name: Get latest Corretto URL
2424
id: get-latest-corretto-url
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
25+
run: |
26+
URL=$(curl -LIs -o /dev/null -w %{url_effective} https://corretto.aws/downloads/latest/amazon-corretto-17-x64-linux-jdk.tar.gz)
27+
echo "{URL}={$URL}" >> $GITHUB_OUTPUT
2628
2729
- uses: actions/cache@v3
2830
id: corretto-cache
@@ -33,9 +35,9 @@ jobs:
3335

3436
- name: Download AWS Corretto
3537
if: steps.corretto-cache.outputs.cache-hit != 'true'
36-
run: wget https://corretto.aws/downloads/latest/amazon-corretto-17-x64-linux-jdk.tar.gz
37-
# run: wget ${{ steps.get-latest-corretto-url.outputs.___URL }}
38-
38+
# run: wget https://corretto.aws/downloads/latest/amazon-corretto-17-x64-linux-jdk.tar.gz
39+
run: wget ${{ steps.get-latest-corretto-url.outputs.___URL }}
40+
3941
- name: ☕ Set up JDK 17
4042
uses: actions/setup-java@v3
4143
with:

0 commit comments

Comments
 (0)