1212
1313env :
1414 GITHUB_TOKEN : ${{ secrets.PAT }}
15+ SPC_VERSION : 2.5.0
1516
1617jobs :
1718 build :
@@ -35,28 +36,28 @@ jobs:
3536 - name : Set SPC URL for macos-13
3637 shell : bash
3738 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
3940
4041 - name : Set SPC URL for macos-latest
4142 shell : bash
4243 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
4445
4546 - name : Set SPC URL for ubuntu-latest and ubuntu-24.04
4647 shell : bash
4748 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
4950
5051 - name : Set SPC URL for ubuntu-24.04-arm
5152 shell : bash
5253 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
5455
5556 - name : Set SPC URL for windows-latest
5657 shell : bash
5758 if : matrix.os == 'windows-latest'
5859 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
6061 echo "SPC_BINARY=spc.exe" >> $GITHUB_ENV
6162
6263 - name : Download SPC
0 commit comments