Update cache/action.yaml
This commit is contained in:
parent
279f65ee46
commit
7beba24ae5
1
cache/action.yaml
vendored
1
cache/action.yaml
vendored
@ -22,3 +22,4 @@ runs:
|
|||||||
mkdir -p "/mnt/cache/$GITHUB_REPOSITORY/${{ inputs.key }}"
|
mkdir -p "/mnt/cache/$GITHUB_REPOSITORY/${{ inputs.key }}"
|
||||||
ARCHIVE="/mnt/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz"
|
ARCHIVE="/mnt/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"
|
||||||
|
echo "Created cache: $ARCHIVE"
|
||||||
|
Loading…
Reference in New Issue
Block a user