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