Update cache/store/action.yaml

This commit is contained in:
Zakary Timson 2023-08-07 02:20:33 +00:00
parent 6be9f2f701
commit 0e724eac13

View File

@ -18,6 +18,6 @@ runs:
- /mnt/swarm/gitea/runner/cache:/cache - /mnt/swarm/gitea/runner/cache:/cache
steps: steps:
- run: | - run: |
tar -czf "${{ inputs.out }}" ${{ inputs.pattern }} tar -czf "archive.tar.gz" ${{ inputs.pattern }}
mkdir -p "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}" mkdir -p "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}"
mv "${{ inputs.out }}" "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/" mv "archive.tar.gz" "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/"