Skip to content

Commit 2b36ad0

Browse files
committed
runner updated.
1 parent ad2bfc7 commit 2b36ad0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/android-ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,21 @@ 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
2931
name: Restore Corretto
3032
with:
3133
path: ./amazon-corretto-17-x64-linux-jdk.tar.gz
32-
key: ${{ runner.os }}-corretto-${{ needs.steps.get-latest-corretto-url.outputs.___URL }}
34+
key: ${{ runner.os }}-corretto-${{ steps.get-latest-corretto-url.outputs.___URL }}
3335

3436
- name: Download AWS Corretto
3537
if: steps.corretto-cache.outputs.cache-hit != 'true'
3638
# run: wget https://corretto.aws/downloads/latest/amazon-corretto-17-x64-linux-jdk.tar.gz
37-
run: wget ${{ needs.steps.get-latest-corretto-url.outputs.___URL }}
39+
run: wget ${{ steps.get-latest-corretto-url.outputs.___URL }}
3840

3941
- name: ☕ Set up JDK 17
4042
uses: actions/setup-java@v3

0 commit comments

Comments
 (0)