diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 4b63542e0..fb3027bef 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -113,7 +113,7 @@ jobs: commit_author: PostHog Bot - name: Upload results as artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: benchmarks path: | diff --git a/.github/workflows/build-hogql-parser.yml b/.github/workflows/build-hogql-parser.yml index 61a25fc07..abddc65b0 100644 --- a/.github/workflows/build-hogql-parser.yml +++ b/.github/workflows/build-hogql-parser.yml @@ -92,7 +92,7 @@ jobs: env: MACOSX_DEPLOYMENT_TARGET: '12' # A modern target allows us to use C++20 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: | hogql_parser/dist/*.whl diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.yml index 0a1dc38b3..aac886092 100644 --- a/.github/workflows/ci-backend.yml +++ b/.github/workflows/ci-backend.yml @@ -303,7 +303,7 @@ jobs: exit 1 - name: Archive email renders - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: needs.changes.outputs.backend == 'true' && matrix.segment == 'FOSS' && matrix.person-on-events == false with: name: email_renders diff --git a/.github/workflows/ci-e2e.yml b/.github/workflows/ci-e2e.yml index 0a7f39a9a..a4b2fa743 100644 --- a/.github/workflows/ci-e2e.yml +++ b/.github/workflows/ci-e2e.yml @@ -241,21 +241,21 @@ jobs: GITHUB_ACTION_RUN_URL: '${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}' - name: Archive test screenshots - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: screenshots path: cypress/screenshots if: ${{ failure() }} - name: Archive test downloads - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: downloads path: cypress/downloads if: ${{ failure() }} - name: Archive test videos - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: videos path: cypress/videos @@ -263,7 +263,7 @@ jobs: - name: Archive accessibility violations if: needs.changes.outputs.shouldTriggerCypress == 'true' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: accessibility-violations path: '**/a11y/' @@ -271,7 +271,7 @@ jobs: - name: Show logs on failure # use artefact here, as I think the output will be too large for display in an action - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: logs-${{ strategy.job-index }} path: /tmp/logs diff --git a/.github/workflows/ci-plugin-server.yml b/.github/workflows/ci-plugin-server.yml index 9aaee0909..83fffd8ad 100644 --- a/.github/workflows/ci-plugin-server.yml +++ b/.github/workflows/ci-plugin-server.yml @@ -271,7 +271,7 @@ jobs: ./bin/ci_functional_tests.sh - name: Upload coverage report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: functional-coverage diff --git a/.github/workflows/storybook-chromatic.yml b/.github/workflows/storybook-chromatic.yml index 28722ce39..4ba34c070 100644 --- a/.github/workflows/storybook-chromatic.yml +++ b/.github/workflows/storybook-chromatic.yml @@ -150,7 +150,7 @@ jobs: - name: Archive failure screenshots if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: failure-screenshots-${{ matrix.browser }} path: frontend/__snapshots__/__failures__/