Skip to content

Commit

Permalink
feat: update workflows to use actions/upload-artifact@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrann0us committed Nov 6, 2024
1 parent 43e3e34 commit 7c1dd94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-assets-compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,13 @@ jobs:
run: composer compile-assets ${{ inputs.COMPILE_ASSETS_ARGS }}

- name: Upload assets artifact [DEV]
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !contains(github.ref, 'refs/tags/') }}
with:
name: assets-${{ env.ASSETS_HASH }}
path: assets
overwrite: true
include-hidden-files: true

- name: Zip assets folder [PROD]
uses: montudor/action-zip@v1
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ddev-playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,12 @@ jobs:
run: echo "artifact=playwright-report" >> $GITHUB_OUTPUT

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ steps.set-artifact-name.outputs.artifact }}
path: |
${{ inputs.PLAYWRIGHT_DIR }}/playwright-report/*
${{ inputs.PLAYWRIGHT_DIR }}/test-results/*
${{ inputs.PLAYWRIGHT_DIR }}/artifacts/test-results/*
overwrite: true
include-hidden-files: true

0 comments on commit 7c1dd94

Please sign in to comment.