From f6d777a66848c29c5d48e618d8cb9c6048a66583 Mon Sep 17 00:00:00 2001 From: Jerry Ma Date: Mon, 8 Aug 2022 17:15:05 +0800 Subject: [PATCH] Update build-php.yml --- .github/workflows/build-php.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build-php.yml b/.github/workflows/build-php.yml index 7cffb377..18d90827 100644 --- a/.github/workflows/build-php.yml +++ b/.github/workflows/build-php.yml @@ -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: