diff --git a/.github/workflows/phar.yml b/.github/workflows/phar.yml index 47b7b6e300..c6c4934b44 100644 --- a/.github/workflows/phar.yml +++ b/.github/workflows/phar.yml @@ -10,9 +10,6 @@ on: tags: - '1.12.*' -env: - COMPOSER_ROOT_VERSION: "1.12.x-dev" - concurrency: group: phar-${{ github.ref }} # will be canceled on subsequent pushes in both branches and pull requests cancel-in-progress: true @@ -79,12 +76,15 @@ jobs: - name: "Composer dump" run: "composer install --no-interaction --no-progress" + env: + COMPOSER_ROOT_VERSION: "1.12.x-dev" - name: "Compile PHAR for checksum" working-directory: "compiler/build" run: "php box.phar compile --no-parallel" env: PHAR_CHECKSUM: "1" + COMPOSER_ROOT_VERSION: "1.12.x-dev" - name: "Re-sign PHAR" run: "php compiler/build/resign.php tmp/phpstan.phar"