diff --git a/.github/workflows/build-client-server.yml b/.github/workflows/build-client-server.yml index 8531a6ab28..be764f6103 100644 --- a/.github/workflows/build-client-server.yml +++ b/.github/workflows/build-client-server.yml @@ -174,7 +174,7 @@ jobs: DB_PWD: ${{ secrets.CYPRESS_DB_PWD }} RUN_ID: ${{ github.run_id }} ATTEMPT_NUMBER: ${{ github.run_attempt }} - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const { Pool } = require("pg"); @@ -216,7 +216,7 @@ jobs: # This is done for debugging. - name: upload combined failed spec if: needs.ci-test-limited.result != 'success' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: combined_failed_spec_ci path: ~/combined_failed_spec_ci @@ -291,7 +291,7 @@ jobs: DB_PWD: ${{ secrets.CYPRESS_DB_PWD }} RUN_ID: ${{ github.run_id }} ATTEMPT_NUMBER: ${{ github.run_attempt }} - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const { Pool } = require("pg"); @@ -333,7 +333,7 @@ jobs: # This is done for debugging. - name: upload combined failed spec if: needs.ci-test-limited-existing-docker-image.result != 'success' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: combined_failed_spec_ci path: ~/combined_failed_spec_ci diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml index e56563dc21..d55b01a57a 100644 --- a/.github/workflows/build-docker-image.yml +++ b/.github/workflows/build-docker-image.yml @@ -38,7 +38,7 @@ jobs: - name: Download the client build artifact if: steps.run_result.outputs.run_result != 'success' - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: client-build path: app/client @@ -51,14 +51,14 @@ jobs: - name: Download the server build artifact if: steps.run_result.outputs.run_result != 'success' - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: server-build path: app/server/dist/ - name: Download the rts build artifact if: steps.run_result.outputs.run_result != 'success' - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: rts-dist path: app/client/packages/rts/dist diff --git a/.github/workflows/ci-test-custom-script.yml b/.github/workflows/ci-test-custom-script.yml index 229a4b7055..cc0767916f 100644 --- a/.github/workflows/ci-test-custom-script.yml +++ b/.github/workflows/ci-test-custom-script.yml @@ -364,7 +364,7 @@ jobs: - name: Upload failed test cypress logs artifact if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: cypress-console-logs path: ${{ github.workspace }}/app/client/cypress/cypress-logs @@ -379,7 +379,7 @@ jobs: # Upload docker logs - name: Upload failed test list artifact if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dockerlogs path: ~/dockerlogs @@ -392,7 +392,7 @@ jobs: - name: Upload cypress report if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: results-${{github.run_attempt}} path: ~/results @@ -415,7 +415,7 @@ jobs: # Upload the log artifact so that it can be used by the test & deploy job in the workflow - name: Upload server logs bundle on failure - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: server-logs-${{ matrix.job }} diff --git a/.github/workflows/ci-test-hosted.yml b/.github/workflows/ci-test-hosted.yml index 5b97f064af..0ead26b3fe 100644 --- a/.github/workflows/ci-test-hosted.yml +++ b/.github/workflows/ci-test-hosted.yml @@ -256,14 +256,14 @@ jobs: - name: Upload cypress report if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: results-${{github.run_attempt}} path: ~/results - name: Upload cypress snapshots if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: snapshots path: ${{ github.workspace }}/app/client/cypress/snapshots diff --git a/.github/workflows/ci-test-limited.yml b/.github/workflows/ci-test-limited.yml index fcdf38a7fc..8645cfd0ec 100644 --- a/.github/workflows/ci-test-limited.yml +++ b/.github/workflows/ci-test-limited.yml @@ -367,14 +367,14 @@ jobs: - name: Upload failed test cypress logs artifact if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: cypress-console-logs path: ${{ github.workspace }}/app/client/cypress/cypress-logs - name: Upload cypress snapshots if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: snapshots path: ${{ github.workspace }}/app/client/cypress/snapshots @@ -389,7 +389,7 @@ jobs: # Upload docker logs - name: Upload failed test list artifact if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dockerlogs path: ~/dockerlogs @@ -402,7 +402,7 @@ jobs: - name: Upload cypress report if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: results-${{github.run_attempt}} path: ~/results @@ -426,7 +426,7 @@ jobs: # Upload the log artifact so that it can be used by the test & deploy job in the workflow - name: Upload server logs bundle on failure - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: server-logs-${{ matrix.job }} diff --git a/.github/workflows/client-build.yml b/.github/workflows/client-build.yml index 9c29a7fea4..d71a78aa1e 100644 --- a/.github/workflows/client-build.yml +++ b/.github/workflows/client-build.yml @@ -290,7 +290,7 @@ jobs: # Upload the build artifact so that it can be used by the test & deploy job in the workflow - name: Upload react build bundle - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: client-build path: app/client/build.tar diff --git a/.github/workflows/close-labeler.yml b/.github/workflows/close-labeler.yml index 41d68f7178..61e4510503 100644 --- a/.github/workflows/close-labeler.yml +++ b/.github/workflows/close-labeler.yml @@ -12,7 +12,7 @@ jobs: if: github.event.pull_request.merged == true runs-on: ubuntu-latest steps: - - uses: actions/github-script@v6 + - uses: actions/github-script@v7 with: github-token: ${{ secrets.CLOSE_LABELER_GITHUB_TOKEN }} script: | diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index fb6e992939..9fe4edc313 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -89,7 +89,7 @@ jobs: # Upload the build artifact so that it can be used by the test & deploy job in the workflow - name: Upload react build bundle - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: client-build path: app/client/build.tar @@ -136,7 +136,7 @@ jobs: ls -l dist - name: Upload server build bundle - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: server-build path: app/server/dist/ @@ -189,7 +189,7 @@ jobs: # Upload the build artifacts and dependencies so that it can be used by the test & deploy job in other workflows - name: Upload rts build bundle - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: rts-dist path: app/client/packages/rts/rts-dist.tar @@ -210,7 +210,7 @@ jobs: uses: depot/setup-action@v1 - name: Download the client build artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: client-build path: app/client @@ -223,13 +223,13 @@ jobs: rm app/client/build.tar - name: Download the server build artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: server-build path: app/server/dist - name: Download the rts build artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: rts-dist path: app/client/packages/rts/dist diff --git a/.github/workflows/on-demand-build-docker-image-deploy-preview.yml b/.github/workflows/on-demand-build-docker-image-deploy-preview.yml index ad5e14d826..ec23a20cfc 100644 --- a/.github/workflows/on-demand-build-docker-image-deploy-preview.yml +++ b/.github/workflows/on-demand-build-docker-image-deploy-preview.yml @@ -94,7 +94,7 @@ jobs: run: | vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} | tee -a ~/run_result.txt - - uses: actions/github-script@v6 + - uses: actions/github-script@v7 with: script: | const dpUrl = require("fs").readFileSync(process.env.HOME + "/run_result.txt", "utf8") @@ -134,7 +134,7 @@ jobs: run: echo "git_hash=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - name: Download the client build artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: client-build path: app/client @@ -146,13 +146,13 @@ jobs: tar -xvf app/client/build.tar -C app/client/build - name: Download the server build artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: server-build path: app/server/dist - name: Download the rts build artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: rts-dist path: app/client/packages/rts/dist diff --git a/.github/workflows/pr-cypress.yml b/.github/workflows/pr-cypress.yml index 1825181da6..f29916920e 100644 --- a/.github/workflows/pr-cypress.yml +++ b/.github/workflows/pr-cypress.yml @@ -104,7 +104,7 @@ jobs: DB_PWD: ${{ secrets.CYPRESS_DB_PWD }} RUN_ID: ${{ github.run_id }} ATTEMPT_NUMBER: ${{ github.run_attempt }} - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const { Pool } = require("pg"); @@ -151,7 +151,7 @@ jobs: # This is done for debugging - name: Upload combined failed spec if: needs.ci-test.result != 'success' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: combined_failed_spec_ci path: ~/combined_failed_spec_ci diff --git a/.github/workflows/rts-build.yml b/.github/workflows/rts-build.yml index 62eecccd55..5ad6740533 100644 --- a/.github/workflows/rts-build.yml +++ b/.github/workflows/rts-build.yml @@ -149,7 +149,7 @@ jobs: # Upload the build artifacts and dependencies so that it can be used by the test & deploy job in other workflows - name: Upload rts build bundle - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: rts-dist path: app/client/packages/rts/rts-dist.tar diff --git a/.github/workflows/server-build.yml b/.github/workflows/server-build.yml index d19e288cda..9c09c8aca9 100644 --- a/.github/workflows/server-build.yml +++ b/.github/workflows/server-build.yml @@ -108,7 +108,7 @@ jobs: - name: Download the failed test artifact in case of rerun if: steps.run_result.outputs.run_result == 'failedtest' && (steps.changed-files-specific.outputs.any_changed == 'true' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule') - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: failed-server-tests path: ~/failed-server-tests @@ -222,7 +222,7 @@ jobs: - name: Upload the failed tests report if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: failed-server-tests path: app/server/failed-server-tests.txt @@ -262,7 +262,7 @@ jobs: # Upload the build artifact so that it can be used by the test & deploy job in the workflow - name: Upload server build bundle - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: server-build path: app/server/dist/ diff --git a/.github/workflows/test-build-docker-image.yml b/.github/workflows/test-build-docker-image.yml index 6535a57439..1b5efeef0d 100644 --- a/.github/workflows/test-build-docker-image.yml +++ b/.github/workflows/test-build-docker-image.yml @@ -153,7 +153,7 @@ jobs: rm -f ~/combined_failed_spec_ci # Download failed_spec_ci list for all CI container jobs - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 if: needs.ci-test.result != 'success' id: download_ci with: @@ -257,7 +257,7 @@ jobs: # This is done for debugging. - name: upload combined failed spec if: needs.ci-test.result != 'success' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: combined_failed_spec_ci path: ~/combined_failed_spec_ci @@ -292,7 +292,7 @@ jobs: uses: actions/checkout@v4 - name: Download the react build artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: client-build path: app/client @@ -304,13 +304,13 @@ jobs: tar -xvf app/client/build.tar -C app/client/build - name: Download the server build artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: server-build path: app/server/dist - name: Download the rts build artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: rts-dist path: app/client/packages/rts/dist @@ -367,7 +367,7 @@ jobs: uses: actions/checkout@v4 - name: Download the react build artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: client-build path: app/client @@ -379,13 +379,13 @@ jobs: tar -xvf app/client/build.tar -C app/client/build - name: Download the server build artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: server-build path: app/server/dist - name: Download the rts build artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: rts-dist path: app/client/packages/rts/dist