Ensured generated dist files do not conflict

This commit is contained in:
Alejandro Celaya 2021-02-13 14:12:38 +01:00
parent f0249346b0
commit 2ac84ac8c4

View File

@ -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 }}