From 2ac84ac8c4eb2ec650ec352e391d3260839eb80c Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sat, 13 Feb 2021 14:12:38 +0100 Subject: [PATCH] Ensured generated dist files do not conflict --- .github/workflows/publish-release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index bddaca9a..287b952a 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -27,7 +27,7 @@ jobs: run: ./build.sh ${GITHUB_REF#refs/tags/v} --no-swoole - uses: actions/upload-artifact@v2 with: - name: dist-files + name: dist-files-${{ matrix.php-version }}-${{ matrix.swoole }} path: build publish: @@ -50,7 +50,11 @@ jobs: delete-artifacts: needs: ['publish'] runs-on: ubuntu-20.04 + strategy: + matrix: + php-version: [ '7.4', '8.0' ] + swoole: [ 'yes', 'no' ] steps: - uses: geekyeggo/delete-artifact@v1 with: - name: dist-files + name: dist-files-${{ matrix.php-version }}-${{ matrix.swoole }}