diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 4d03bb9ae0c..6c85633b070 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -33,7 +33,7 @@ jobs: if: github.event_name == 'pull_request' run: echo ${{ github.event.number }} > ./pr_number - name: Upload deltas - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: delta-action-deltas retention-days: 7 diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 4f818fd14ed..6cb176fcc86 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -104,11 +104,16 @@ jobs: echo "node=node_${node/.*.*/}" >> $env:GITHUB_OUTPUT shell: bash if: '${{ !steps.release-check.outputs.IS_RELEASE }}' + + - name: Sanitize shard for artefact name + id: sanitize-shard-name + run: echo "shard=$(echo '${{ matrix.shard }}' | tr '/' '-')" >> $GITHUB_OUTPUT + - name: Store npm error artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: - name: npm-logs + name: npm-logs--${{ matrix.os }}--${{ matrix.node-version }}--${{ steps.sanitize-shard-name.outputs.shard }} path: | /home/runner/.npm/_logs/**/* @@ -116,4 +121,5 @@ jobs: continue-on-error: true with: flags: ${{ steps.test-coverage-flags.outputs.os }},${{ steps.test-coverage-flags.outputs.node }} + token: ${{ secrets.CODECOV_TOKEN }} if: '${{ !steps.release-check.outputs.IS_RELEASE }}'