@@ -103,7 +103,7 @@ jobs:
103
103
ref : main
104
104
105
105
- name : " Setup PHP"
106
- if : matrix.runner != 'ubuntu-24.04-arm' && matrix.runner != 'ubuntu-latest'
106
+ if : ${{ !startsWith( matrix.runner, 'ubuntu') }}
107
107
uses : shivammathur/setup-php@v2
108
108
with :
109
109
php-version : 8.4
@@ -128,7 +128,7 @@ jobs:
128
128
key : pack-lib-dependencies-${{ matrix.combination }}-${{ matrix.php-version }}-${{ matrix.runner }}
129
129
130
130
- name : " Install Dependencies"
131
- if : matrix.runner != 'ubuntu-24.04-arm' && matrix.runner != 'ubuntu-latest'
131
+ if : ${{ !startsWith( matrix.runner, 'ubuntu') }}
132
132
run : composer update -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist --no-dev
133
133
134
134
- run : ${{ steps.process-env.outputs.CMD }} doctor --auto-fix
@@ -141,7 +141,7 @@ jobs:
141
141
142
142
- name : " Build library: ${{ matrix.library }}"
143
143
run : |
144
- if [ "${{ steps.process-env.outputs.OS }}" = "linux" ]; then
144
+ if [ "${{ steps.process-env.outputs.OS }}" = "linux" ] && [ "${{ steps.process-env.outputs.CMD }}" = "bin/spc-alpine-docker" ] ; then
145
145
${{ steps.process-env.outputs.CMD }} install-pkg upx
146
146
UPX=--with-upx-pack
147
147
fi
@@ -171,6 +171,12 @@ jobs:
171
171
cp buildroot/build-libraries.json dist/
172
172
echo -e "# Note\n\nCurrent distribution uses extensions:\n\n${{ steps.process-env.outputs.EXTENSIONS }}\n\nUsing compile command:\n\n bin/spc build --build-cli --build-micro --build-fpm ${{ steps.process-env.outputs.EXTENSIONS }} --debug --with-upx-pack" > dist/README.txt
173
173
fi
174
+ if [ "${{ matrix.php-version }}" == "8.4" ] && [ "${{ matrix.runner }}" == "ubuntu-22.04" ]; then
175
+ cp -r buildroot/license dist/
176
+ cp buildroot/build-extensions.json dist/
177
+ cp buildroot/build-libraries.json dist/
178
+ echo -e "# Note\n\nCurrent distribution uses extensions:\n\n${{ steps.process-env.outputs.EXTENSIONS }}\n\nUsing compile command:\n\n bin/spc build --build-cli --build-micro --build-fpm ${{ steps.process-env.outputs.EXTENSIONS }} --debug --with-upx-pack" > dist/README.txt
179
+ fi
174
180
175
181
- name : " Deploy to self-hosted OSS"
176
182
uses :
static-php/[email protected]
0 commit comments