mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
Update build-php.yml
This commit is contained in:
parent
1515e9d9d5
commit
f6d777a668
5
.github/workflows/build-php.yml
vendored
5
.github/workflows/build-php.yml
vendored
@ -29,10 +29,15 @@ jobs:
|
||||
docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||
fi
|
||||
- name: Build micro and PHP distribution ${{ matrix.php-versions }} for ${{ matrix.arch }}
|
||||
id: buildphp
|
||||
run: |
|
||||
cd docker/ && docker build . --tag static-php --build-arg USE_BACKUP_ADDRESS=yes && \
|
||||
mkdir ../dist && \
|
||||
docker run --rm -v $(pwd)/../dist:/dist/ static-php build-php original ${{ matrix.php-versions }} all /dist/
|
||||
- name: Fail if anything failed
|
||||
if: steps.buildphp == 'failure'
|
||||
run: |
|
||||
false
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user