Update cache/store/action.yaml
This commit is contained in:
parent
1e739e062e
commit
bc7c6511e8
2
cache/store/action.yaml
vendored
2
cache/store/action.yaml
vendored
@ -20,4 +20,4 @@ runs:
|
|||||||
- run: |
|
- run: |
|
||||||
tar -czf "archive.tar.gz" ${{ inputs.pattern }}
|
tar -czf "archive.tar.gz" ${{ inputs.pattern }}
|
||||||
mkdir -p "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}"
|
mkdir -p "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}"
|
||||||
mv "archive.tar.gz" "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/"
|
[ $(md5sum "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz") != $(md5sum archive.tar.gz) ] && mv archive.tar.gz "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/"
|
||||||
|
Loading…
Reference in New Issue
Block a user