Skip to content

Commit

Permalink
skip caching in containers :(
Browse files Browse the repository at this point in the history
  • Loading branch information
jhheider committed Nov 24, 2023
1 parent 60d174a commit addf6aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions actions/cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@ runs:
else
echo "cache=~/.cache/deno" >> $GITHUB_OUTPUT
fi
echo "GITHUB_WORKSPACE=$GITHUB_WORKSPACE" >> $GITHUB_OUTPUT
id: os-cache
shell: sh
- uses: actions/cache@v3
# in containers this has issues because github.workspace != $GITHUB_WORKSPACE
if: ${{ github.workspace }} == ${{ steps.os-cache.outputs.GITHUB_WORKSPACE }}
with:
path: |
~/.deno
Expand Down

0 comments on commit addf6aa

Please sign in to comment.