From c78e6356887fe06d28857f8bbde2cee3541228b5 Mon Sep 17 00:00:00 2001 From: Damien Retzinger Date: Sat, 9 May 2026 16:12:45 -0400 Subject: [PATCH] ci(setup-install): adopt cache-magento stamp cache (#249) Adds `composer update --no-install` ahead of cache-magento so the lock exists when the stamp key is computed, then flips on stamp:true with the matching working-directory. --- .github/workflows/_internal-setup-install.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/_internal-setup-install.yaml b/.github/workflows/_internal-setup-install.yaml index b84d399..9a7a6e5 100644 --- a/.github/workflows/_internal-setup-install.yaml +++ b/.github/workflows/_internal-setup-install.yaml @@ -54,10 +54,15 @@ jobs: magento_version: ${{ matrix.magento }} magento_repository: "https://mirror.mage-os.org/" composer_auth: ${{ secrets.COMPOSER_AUTH }} + + - run: composer update --no-install + working-directory: ${{ steps.setup-magento.outputs.path }} - uses: ./cache-magento with: composer_cache_key: ${{ matrix.magento }} + working-directory: ${{ steps.setup-magento.outputs.path }} + stamp: true - name: Add extension repository working-directory: ${{ steps.setup-magento.outputs.path }}