Skip to content

Commit 46958c2

Browse files
committed
truncate hashes and use the old hash keys
1 parent 87f1af9 commit 46958c2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/cpack.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,9 @@ jobs:
112112
run: |
113113
set -o pipefail
114114
set -o xtrace
115-
echo "key=${KEY_PREFIX}-config_hash-${CONFIG_HASH}-action_hash-${ACTION_HASH}" | tee -a $GITHUB_OUTPUT
115+
ACTION_HASH_SHORT=${ACTION_HASH:0:8}
116+
CONFIG_HASH_SHORT=${CONFIG_HASH:0:8}
117+
echo "key=${KEY_PREFIX}-vcpkg_json=${CONFIG_HASH_SHORT}-build_action=${ACTION_HASH_SHORT}" | tee -a $GITHUB_OUTPUT
116118
117119
- name: Create a Vcpkg Cache with the Defined Key for this Matrix Job
118120
id: vcpkg_cache

0 commit comments

Comments
 (0)