Skip to content

Commit 10e460c

Browse files
Attempt to fix the phar build process
1 parent 037d6d8 commit 10e460c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/phar-build.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ jobs:
2525
run: composer install --no-dev --optimize-autoloader
2626

2727
- name: Inject version from tag
28-
run: |
29-
VERSION=$(echo "${{ github.ref_name }}" | sed 's/^\\//')
30-
sed -i "s/public const VERSION = .*/public const VERSION = '$VERSION';/" src/Application.php
28+
run: sed -i "s/public const VERSION = .*/public const VERSION = '${{ github.ref_name }}';/" src/Application.php
29+
30+
- name: Install Box
31+
run: curl -Ls https://github.com/box-project/box/releases/download/4.6.6/box.phar -o tools/box
3132

3233
- name: Build PHAR
3334
run: composer build-phar

0 commit comments

Comments
 (0)