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
steps:
- run: |
mkdir -p "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}"
tar --overwrite -czf "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" ${{ inputs.pattern }}
echo "Created cache: /cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz"
mkdir -p "/tmp/gitea/$GITHUB_REPOSITORY/${{ inputs.key }}"
tar --overwrite -czf "/tmp/gitea/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" ${{ inputs.pattern }}
echo "Created cache: /tmp/gitea/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz"
shell: sh