Update cache/action.yaml

This commit is contained in:
Zakary Timson 2023-08-07 02:58:10 +00:00
parent 279f65ee46
commit 7beba24ae5

1
cache/action.yaml vendored
View File

@ -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"