Skip to content

Commit

Permalink
Merge pull request #34 from pd-rs/url-fallback
Browse files Browse the repository at this point in the history
Add fallback: download from original url
  • Loading branch information
boozook authored May 20, 2024
2 parents f5336f9 + 5c4892e commit abb888a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ runs:
# not using cache or have got cache-miss
if: (steps.cache-restore.outputs.cache-hit != 'true') || (inputs.cache != 'true')
shell: bash
run: |
run: >-
curl -L -sS --show-error --fail "${{ steps.direct-url.outputs.url }}" -o ${{ steps.cfg.outputs.filename }}
|| curl -L -sS --show-error --fail "${{ steps.cfg.outputs.url }}" -o ${{ steps.cfg.outputs.filename }}
- name: Cache save
id: cache-save
Expand Down

0 comments on commit abb888a

Please sign in to comment.