From ac1737492b2c8f392426060f642eafef4c8d84bb Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Tue, 19 Dec 2023 11:13:13 +0100 Subject: [PATCH] Update artifact GitHub actions --- .github/workflows/ci-db-tests.yml | 2 +- .github/workflows/ci-mutation-tests.yml | 2 +- .github/workflows/ci-tests.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/publish-release.yml | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-db-tests.yml b/.github/workflows/ci-db-tests.yml index f164e7da8..cc653315e 100644 --- a/.github/workflows/ci-db-tests.yml +++ b/.github/workflows/ci-db-tests.yml @@ -36,7 +36,7 @@ jobs: - name: Run tests run: composer test:db:${{ inputs.platform }} - name: Upload code coverage - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ matrix.php-version == '8.2' && inputs.platform == 'sqlite:ci' }} with: name: coverage-db diff --git a/.github/workflows/ci-mutation-tests.yml b/.github/workflows/ci-mutation-tests.yml index 6bc69eb36..d0d18c15a 100644 --- a/.github/workflows/ci-mutation-tests.yml +++ b/.github/workflows/ci-mutation-tests.yml @@ -22,7 +22,7 @@ jobs: php-version: ${{ matrix.php-version }} php-extensions: openswoole-22.1.0 extensions-cache-key: mutation-tests-extensions-${{ matrix.php-version }}-${{ inputs.test-group }} - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: coverage-${{ inputs.test-group }} path: build diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 62b7ca2ea..77c055bff 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -29,7 +29,7 @@ jobs: php-extensions: openswoole-22.1.0 extensions-cache-key: tests-extensions-${{ matrix.php-version }}-${{ inputs.test-group }} - run: composer test:${{ inputs.test-group }}:ci - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ matrix.php-version == '8.2' }} with: name: coverage-${{ inputs.test-group }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 37134b81b..bcbe0a485 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -146,7 +146,7 @@ jobs: php-version: ${{ matrix.php-version }} coverage: pcov ini-values: pcov.directory=module - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: path: build - run: mv build/coverage-unit/coverage-unit.cov build/coverage-unit.cov diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 625597a10..3fe1a1a4d 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -24,7 +24,7 @@ jobs: run: ./build.sh ${GITHUB_REF#refs/tags/v} - if: ${{ matrix.swoole == 'no' }} run: ./build.sh ${GITHUB_REF#refs/tags/v} --no-swoole - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: dist-files-${{ matrix.php-version }}-${{ matrix.swoole }} path: build @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: path: build - name: Publish release with assets