Skip to content

Commit

Permalink
update upload-artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlincecum committed Feb 1, 2025
1 parent e24daaa commit ef7d8d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ jobs:
COMMIT_SHA: ${{ github.sha }}
- name: Upload build asset
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: extension-builds-${{ github.event.number || github.event.head_commit.id }}
path: dist/*.zip
retention-days: 90
- name: Create Release and Upload Artifacts
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5 # v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down Expand Up @@ -144,11 +145,11 @@ jobs:
run: xvfb-run npx playwright test
#env:
# DEBUG: pw:api*
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: failure()
with:
name: debug-output
path: |
test-results/
#videos/
retention-days: 30
retention-days: 90
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,11 @@ jobs:
COMMIT_SHA: ${{ github.sha }}
- name: Upload build asset
if: ${{ inputs.update_version }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: extension-builds-${{ github.event.number || github.event.head_commit.id }}
path: dist/*.zip
retention-days: 90
- name: Create Release and Upload Artifacts
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5 # v1
if: ${{ inputs.update_version }}
Expand Down

0 comments on commit ef7d8d4

Please sign in to comment.