refactor(cache-magento): extract key computation into a script (#245)

This commit is contained in:
Damien Retzinger
2026-05-09 15:37:28 -04:00
parent c53607cca8
commit 44e7c34892
4 changed files with 80 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
# Args: composer_cache_key php_version composer_version
COMPOSER_CACHE_KEY="$1"
PHP_VERSION="$2"
COMPOSER_VERSION="$3"
echo "download-key=composer | v5.8 | ${COMPOSER_CACHE_KEY} | ${COMPOSER_VERSION} | ${PHP_VERSION}"