Skip to content

Commit

Permalink
Rename matrix variable 'os' to 'system' in release.yml
Browse files Browse the repository at this point in the history
This change ensures consistency in variable naming within the GitHub Actions workflow. Adjustments have been made in both the matrix definition and subsequent usage in compile and repack steps.
  • Loading branch information
Spomky committed Sep 21, 2024
1 parent 305d613 commit 1c56c93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
matrix:
php: ['8.3']
arch: ['x86_64']
os: ['linux']
system: ['linux']

steps:
- name: 'Checkout Code'
Expand All @@ -34,8 +34,8 @@ jobs:

- name: 'Compile the application'
run: |
vendor/bin/castor repack --os={{ matrix.os }} --app-name=beaver --app-version=${{ github.ref_name }}
vendor/bin/castor compile beaver.linux.phar --php-version=${{ matrix.php }} --arch={{ matrix.arch }} --os={{ matrix.os }}
vendor/bin/castor repack --os=${{ matrix.system }} --app-name=beaver --app-version=${{ github.ref_name }}
vendor/bin/castor compile beaver.linux.phar --php-version=${{ matrix.php }} --arch=${{ matrix.arch }} --os=${{ matrix.system }}
- name: 'Move applications'
run: mv beaver.* ./bin/
Expand Down

0 comments on commit 1c56c93

Please sign in to comment.