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 aba052a commit ff7f6ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,15 @@ 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
- if: ${{ inputs.cache }}
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: /tmp/.action-static-redbean
path: /tmp/.action-static-redbean/redbean.com
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 ff7f6ad

Please sign in to comment.