Update cache/store/action.yaml
This commit is contained in:
parent
6e547f538d
commit
be21b484c6
3
cache/store/action.yaml
vendored
3
cache/store/action.yaml
vendored
@ -20,4 +20,5 @@ runs:
|
||||
- run: |
|
||||
tar -czf "archive.tar.gz" ${{ inputs.pattern }}
|
||||
mkdir -p "/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 }}/"
|
||||
ARCHIVE="/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz"
|
||||
[ ! -f "$ARCHIVE" || "$(md5sum "$ARCHIVE")" != "$(md5sum archive.tar.gz)" ] && mv archive.tar.gz "$ARCHIVE"
|
||||
|
Loading…
Reference in New Issue
Block a user