diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8cb6c8ae0..e28483531 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -185,7 +185,7 @@ jobs: - name: Upload coverage data # pin to upload coverage from only one matrix entry, otherwise coverage gets confused later if: matrix.upload_coverage - uses: "actions/upload-artifact@v4.3.0" + uses: "actions/upload-artifact@v4" # this action doesn't seem to respect working-directory so include working-directory value in path with: name: coverage-data @@ -193,14 +193,14 @@ jobs: # - name: Upload documentation # if: matrix.session == 'docs-build' - # uses: actions/upload-artifact@v3 + # uses: actions/upload-artifact@v4 # with: # name: docs # path: docs/_build # - name: Upload logs if: failure() && matrix.session == 'tests' - uses: "actions/upload-artifact@v3" + uses: "actions/upload-artifact@v4" with: name: logs-${{matrix.python}}-${{matrix.os}}-${{matrix.database}} path: "./spiffworkflow-backend/log/*.log" @@ -311,7 +311,7 @@ jobs: mkdir -p ./pr echo "$PR_NUMBER" > ./pr/pr_number - name: Upload PR number as artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ github.event_name == 'pull_request' }} with: name: pr_number @@ -426,21 +426,21 @@ jobs: run: ./bin/get_logs_from_docker_compose >./log/docker_compose.log - name: Upload logs if: failure() - uses: "actions/upload-artifact@v3" + uses: "actions/upload-artifact@v4" with: name: spiffworkflow-backend-logs path: "./spiffworkflow-backend/log/*.log" # https://github.com/cypress-io/github-action#artifacts - name: upload_screenshots - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: cypress-screenshots path: ./spiffworkflow-frontend/cypress/screenshots # Test run video was always captured, so this action uses "always()" condition - name: upload_videos - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: cypress-videos