@@ -103,7 +103,7 @@ jobs:
103103 ref : main
104104
105105 - name : " Setup PHP"
106- if : matrix.runner != 'ubuntu-24.04-arm' && matrix.runner != 'ubuntu-latest'
106+ if : ${{ !startsWith( matrix.runner, 'ubuntu') }}
107107 uses : shivammathur/setup-php@v2
108108 with :
109109 php-version : 8.4
@@ -128,7 +128,7 @@ jobs:
128128 key : pack-lib-dependencies-${{ matrix.combination }}-${{ matrix.php-version }}-${{ matrix.runner }}
129129
130130 - name : " Install Dependencies"
131- if : matrix.runner != 'ubuntu-24.04-arm' && matrix.runner != 'ubuntu-latest'
131+ if : ${{ !startsWith( matrix.runner, 'ubuntu') }}
132132 run : composer update -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist --no-dev
133133
134134 - run : ${{ steps.process-env.outputs.CMD }} doctor --auto-fix
@@ -141,7 +141,7 @@ jobs:
141141
142142 - name : " Build library: ${{ matrix.library }}"
143143 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
145145 ${{ steps.process-env.outputs.CMD }} install-pkg upx
146146 UPX=--with-upx-pack
147147 fi
@@ -171,6 +171,12 @@ jobs:
171171 cp buildroot/build-libraries.json dist/
172172 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
173173 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
174180
175181 - name : " Deploy to self-hosted OSS"
176182 uses :
static-php/[email protected]
0 commit comments