12
12
13
13
env :
14
14
GITHUB_TOKEN : ${{ secrets.PAT }}
15
+ SPC_VERSION : 2.5.0
15
16
16
17
jobs :
17
18
build :
@@ -35,28 +36,28 @@ jobs:
35
36
- name : Set SPC URL for macos-13
36
37
shell : bash
37
38
if : matrix.os == 'macos-13'
38
- run : echo "SPC_URL=https://github.com/crazywhalecc/static-php-cli/releases/download/2.5.0 /spc-macos-x86_64.tar.gz" >> $GITHUB_ENV
39
+ run : echo "SPC_URL=https://github.com/crazywhalecc/static-php-cli/releases/download/${{ env.SPC_VERSION }} /spc-macos-x86_64.tar.gz" >> $GITHUB_ENV
39
40
40
41
- name : Set SPC URL for macos-latest
41
42
shell : bash
42
43
if : matrix.os == 'macos-latest'
43
- run : echo "SPC_URL=https://github.com/crazywhalecc/static-php-cli/releases/download/2.5.0 /spc-macos-aarch64.tar.gz" >> $GITHUB_ENV
44
+ run : echo "SPC_URL=https://github.com/crazywhalecc/static-php-cli/releases/download/${{ env.SPC_VERSION }} /spc-macos-aarch64.tar.gz" >> $GITHUB_ENV
44
45
45
46
- name : Set SPC URL for ubuntu-latest and ubuntu-24.04
46
47
shell : bash
47
48
if : matrix.os == 'ubuntu-latest'
48
- run : echo "SPC_URL=https://github.com/crazywhalecc/static-php-cli/releases/download/2.5.0 /spc-linux-x86_64.tar.gz" >> $GITHUB_ENV
49
+ run : echo "SPC_URL=https://github.com/crazywhalecc/static-php-cli/releases/download/${{ env.SPC_VERSION }} /spc-linux-x86_64.tar.gz" >> $GITHUB_ENV
49
50
50
51
- name : Set SPC URL for ubuntu-24.04-arm
51
52
shell : bash
52
53
if : matrix.os == 'ubuntu-24.04-arm'
53
- run : echo "SPC_URL=https://github.com/crazywhalecc/static-php-cli/releases/download/2.5.0 /spc-linux-aarch64.tar.gz" >> $GITHUB_ENV
54
+ run : echo "SPC_URL=https://github.com/crazywhalecc/static-php-cli/releases/download/${{ env.SPC_VERSION }} /spc-linux-aarch64.tar.gz" >> $GITHUB_ENV
54
55
55
56
- name : Set SPC URL for windows-latest
56
57
shell : bash
57
58
if : matrix.os == 'windows-latest'
58
59
run : |
59
- echo "SPC_URL=https://github.com/crazywhalecc/static-php-cli/releases/download/2.5.0 /spc-windows-x64.exe" >> $GITHUB_ENV
60
+ echo "SPC_URL=https://github.com/crazywhalecc/static-php-cli/releases/download/${{ env.SPC_VERSION }} /spc-windows-x64.exe" >> $GITHUB_ENV
60
61
echo "SPC_BINARY=spc.exe" >> $GITHUB_ENV
61
62
62
63
- name : Download SPC
0 commit comments