From 7c1dd947ce4d3c0d464b1b5eb4b07ce587fe020a Mon Sep 17 00:00:00 2001 From: Philipp Bammes Date: Wed, 6 Nov 2024 09:12:54 +0100 Subject: [PATCH] feat: update workflows to use actions/upload-artifact@v4 --- .github/workflows/build-assets-compilation.yml | 4 +++- .github/workflows/ddev-playwright.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-assets-compilation.yml b/.github/workflows/build-assets-compilation.yml index f031d285..da4cd25c 100644 --- a/.github/workflows/build-assets-compilation.yml +++ b/.github/workflows/build-assets-compilation.yml @@ -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 diff --git a/.github/workflows/ddev-playwright.yml b/.github/workflows/ddev-playwright.yml index c8687f7f..0c296b30 100644 --- a/.github/workflows/ddev-playwright.yml +++ b/.github/workflows/ddev-playwright.yml @@ -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