Skip to content

Commit

Permalink
actually set url
Browse files Browse the repository at this point in the history
  • Loading branch information
Roguelazer committed Dec 13, 2024
1 parent a618c34 commit eb04642
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,15 @@ runs:
echo >&2 "Could not find download for ${version} for ${machine}"
exit 1
fi
echo "url=${url}" >> "$GITHUB_OUTPUT"
- name: Cache CLI
id: cache-cli
uses: actions/cache@v4
with:
path: /tmp/heroku-${{ inputs.version }}.tar.gz
key: ${{ runner.os }}-${{ runner.arch }}-${{ steps.get_url.outputs.url }}
- name: "Download CLI"
shell: bash
if: steps.cache.outputs.cache-hit != 'true'
run: |
curl -o "/tmp/heroku-${{ inputs.version }}.tar.gz" -sq "${{ steps.get_url.outputs.url }}"
Expand Down

0 comments on commit eb04642

Please sign in to comment.