Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TimonLukas committed Jun 19, 2022
1 parent d95a62a commit aba052a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,14 @@ runs:
run: |
echo "::set-output name=executable::$(pwd)/${{ inputs.executable-name }}"
echo "::set-output name=temp::$(mktemp -d)"
- name: Create static symlink to temp directory to work around actions/cache#815
shell: bash
run: ln -snf ${{ steps.paths.outputs.temp }} /tmp/.action-static-redbean
- if: ${{ inputs.cache }}
id: cache
uses: actions/cache@v3
with:
path: ${{ steps.paths.outputs.temp }}
path: /tmp/.action-static-redbean
key: action-static-redbean-${{ inputs.version }}
- if: ${{ !inputs.cache || steps.cache.outputs.cache-hit != 'true' }}
name: Fetch redbean-${{ inputs.version }}.com
Expand Down

0 comments on commit aba052a

Please sign in to comment.