Update cache/action.yaml

This commit is contained in:
Zakary Timson 2024-05-13 10:55:30 -04:00
parent 0480832df9
commit 24f02807f0

6
cache/action.yaml vendored
View File

@ -17,7 +17,7 @@ runs:
using: composite using: composite
steps: steps:
- run: | - run: |
mkdir -p "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}" mkdir -p "/tmp/gitea/$GITHUB_REPOSITORY/${{ inputs.key }}"
tar --overwrite -czf "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" ${{ inputs.pattern }} tar --overwrite -czf "/tmp/gitea/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" ${{ inputs.pattern }}
echo "Created cache: /cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" echo "Created cache: /tmp/gitea/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz"
shell: sh shell: sh