diff --git a/.github/workflows/build-php.yml b/.github/workflows/build-php.yml index 4b378d7b..7174eb26 100644 --- a/.github/workflows/build-php.yml +++ b/.github/workflows/build-php.yml @@ -33,6 +33,12 @@ jobs: 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: Upload Artifacts + uses: actions/upload-artifact@v3 + with: + name: static-php-cli_${{ matrix.php-versions }}_${{ matrix.arch }} + path: | + dist - name: Pack PHP ${{ matrix.php-versions }} to archive run: | cd dist @@ -40,12 +46,6 @@ jobs: if [ -f "./micro.sfx" ]; then tar -zcvf "micro-${{ matrix.php-versions }}-${{ matrix.arch }}.tar.gz" ./micro.sfx && rm ./micro.sfx fi - - name: Upload Artifacts - uses: actions/upload-artifact@v3 - with: - name: static-php-cli_${{ matrix.php-versions }}_${{ matrix.arch }} - path: | - dist - name: Deploy to Zhamao Server uses: easingthemes/ssh-deploy@main env: