Skip to content

Commit

Permalink
worfklows: update upload-artifacts version
Browse files Browse the repository at this point in the history
v3 of `upload-artifacts` will soon error out, so we need to migrate to v4.
  • Loading branch information
jordigh committed Jan 9, 2025
1 parent ffc4855 commit 1a8ca76
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ jobs:
TESTDIR: ${{ runner.temp }}/test-logs

- name: Prepare for saving artifact
if: failure()
run: |
ARTIFACT_NAME=logs-$(echo $TESTS | sed 's/[^-a-zA-Z0-9]/_/g')
echo "Artifact name is '$ARTIFACT_NAME'"
Expand All @@ -175,8 +174,7 @@ jobs:
TESTDIR: ${{ runner.temp }}/test-logs

- name: Save artifacts on failure
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_NAME }}
path: ${{ runner.temp }}/test-logs # only exists for webdriver tests
Expand Down

0 comments on commit 1a8ca76

Please sign in to comment.