Skip to content

Commit 6009bcc

Browse files
committed
runner updated.
1 parent 844495a commit 6009bcc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/android-ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,19 @@ jobs:
2424
id: get-latest-corretto-url
2525
run: |
2626
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
2928
3029
- uses: actions/cache@v3
3130
id: corretto-cache
3231
name: Restore Corretto
3332
with:
3433
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 }}
3635

3736
- name: Download AWS Corretto
3837
if: steps.corretto-cache.outputs.cache-hit != 'true'
3938
# 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 }}
4140

4241
- name: ☕ Set up JDK 17
4342
uses: actions/setup-java@v3

0 commit comments

Comments
 (0)