Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jan 3, 2024
1 parent 8e603e9 commit 725786f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/checksum-phar.yml
Expand Up @@ -12,13 +12,13 @@ on:
- '.github/workflows/checksum-phar.yml'
push:
branches:
- "1.10.x"
- "1.11.x"
paths:
- 'compiler/**'
- '.github/workflows/checksum-phar.yml'

env:
COMPOSER_ROOT_VERSION: "1.10.x-dev"
COMPOSER_ROOT_VERSION: "1.11.x-dev"

concurrency:
group: checksum-phar-${{ github.head_ref || github.run_id }} # will be canceled on subsequent pushes in pull requests but not branches
Expand All @@ -37,7 +37,7 @@ jobs:
with:
repository: phpstan/phpstan
path: phpstan-dist
ref: 1.10.x
ref: 1.11.x

- name: "Get info"
id: info
Expand Down Expand Up @@ -101,14 +101,14 @@ jobs:
- name: "Composer dump"
run: "composer install --no-interaction --no-progress"
env:
COMPOSER_ROOT_VERSION: "1.10.x-dev"
COMPOSER_ROOT_VERSION: "1.11.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.10.x-dev"
COMPOSER_ROOT_VERSION: "1.11.x-dev"

- name: "Re-sign PHAR"
run: "php compiler/build/resign.php tmp/phpstan.phar"
Expand Down

0 comments on commit 725786f

Please sign in to comment.