diff --git a/.github/actions/setup-rust/action.yml b/.github/actions/setup-rust/action.yml index 0478952e2f0c..04b26ad20532 100644 --- a/.github/actions/setup-rust/action.yml +++ b/.github/actions/setup-rust/action.yml @@ -35,7 +35,7 @@ runs: using: "composite" steps: - name: Set up GCP credentials - uses: google-github-actions/auth@v1 + uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ inputs.workload_identity_provider }} service_account: ${{ inputs.service_account }} diff --git a/.github/workflows/checkboxes.yml b/.github/workflows/checkboxes.yml index 3e258ae3f703..6dd1be1ec9b5 100644 --- a/.github/workflows/checkboxes.yml +++ b/.github/workflows/checkboxes.yml @@ -29,7 +29,7 @@ jobs: ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || '' }} - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.11 diff --git a/.github/workflows/on_pull_request.yml b/.github/workflows/on_pull_request.yml index c48ef2425361..84b57e5803a3 100644 --- a/.github/workflows/on_pull_request.yml +++ b/.github/workflows/on_pull_request.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || '' }} - - uses: dorny/paths-filter@v2 + - uses: dorny/paths-filter@v3 id: filter with: filters: | @@ -46,7 +46,7 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || '' }} - - uses: dorny/paths-filter@v2 + - uses: dorny/paths-filter@v3 id: filter with: filters: | @@ -65,7 +65,7 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || '' }} - - uses: dorny/paths-filter@v2 + - uses: dorny/paths-filter@v3 id: filter with: filters: | @@ -83,7 +83,7 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || '' }} - - uses: dorny/paths-filter@v2 + - uses: dorny/paths-filter@v3 id: filter with: filters: | diff --git a/.github/workflows/on_pull_request_target_contrib.yml b/.github/workflows/on_pull_request_target_contrib.yml index 6f8a08de8a24..eb2e950e5006 100644 --- a/.github/workflows/on_pull_request_target_contrib.yml +++ b/.github/workflows/on_pull_request_target_contrib.yml @@ -24,7 +24,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.11 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ef2edd90fbd8..ee3f98c6bcce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -79,7 +79,7 @@ jobs: node-version: 18 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.11 @@ -386,7 +386,7 @@ jobs: node-version: 18 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.11 diff --git a/.github/workflows/reusable_bench.yml b/.github/workflows/reusable_bench.yml index 7c6885a4c65b..5f1c05da69e2 100644 --- a/.github/workflows/reusable_bench.yml +++ b/.github/workflows/reusable_bench.yml @@ -87,13 +87,13 @@ jobs: -- --output-format=bencher | tee /tmp/${{ env.SHORT_SHA }} - name: "Set up Cloud SDK" - uses: "google-github-actions/setup-gcloud@v1" + uses: "google-github-actions/setup-gcloud@v2" with: version: ">= 363.0.0" # TODO(jleibs) make this whole thing a python script - name: "Upload bench to GCS based on SHA" - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: /tmp/${{ env.SHORT_SHA }} destination: "rerun-builds/benches/" @@ -112,7 +112,7 @@ jobs: - name: "Upload bench-results to GCS" if: ${{ inputs.COMPARE_TO != '' }} - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: /tmp/bench_results.txt destination: "rerun-builds/commit/${{env.SHORT_SHA}}/" @@ -125,7 +125,7 @@ jobs: # Don't upload the new named bench until the end in case the names are the same - name: "Upload named bench to GCS" if: ${{ inputs.BENCH_NAME != '' }} - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: /tmp/${{ inputs.BENCH_NAME }} destination: "rerun-builds/benches/" diff --git a/.github/workflows/reusable_build_and_upload_rerun_c.yml b/.github/workflows/reusable_build_and_upload_rerun_c.yml index 79a1958a806d..751a934e5237 100644 --- a/.github/workflows/reusable_build_and_upload_rerun_c.yml +++ b/.github/workflows/reusable_build_and_upload_rerun_c.yml @@ -163,7 +163,7 @@ jobs: echo "sha=$(echo $full_commit | cut -c1-7)" >> "$GITHUB_OUTPUT" - name: "Upload rerun_c (commit)" - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: "./target/${{ needs.set-config.outputs.TARGET }}/release/${{ needs.set-config.outputs.LIB_NAME }}" destination: "rerun-builds/commit/${{ steps.get-sha.outputs.sha }}/rerun_c/${{ inputs.PLATFORM }}" @@ -171,7 +171,7 @@ jobs: - name: "Upload rerun_c (adhoc)" if: ${{ inputs.ADHOC_NAME != '' }} - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: "./target/${{ needs.set-config.outputs.TARGET }}/release/${{ needs.set-config.outputs.LIB_NAME }}" destination: "rerun-builds/adhoc/${{inputs.ADHOC_NAME}}/rerun_c/${{ inputs.PLATFORM }}" diff --git a/.github/workflows/reusable_build_and_upload_rerun_cli.yml b/.github/workflows/reusable_build_and_upload_rerun_cli.yml index ff51bd370213..98fd400f0537 100644 --- a/.github/workflows/reusable_build_and_upload_rerun_cli.yml +++ b/.github/workflows/reusable_build_and_upload_rerun_cli.yml @@ -183,7 +183,7 @@ jobs: echo "sha=$(echo $full_commit | cut -c1-7)" >> "$GITHUB_OUTPUT" - name: "Upload rerun-cli (commit)" - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: "./target/${{ needs.set-config.outputs.TARGET }}/release/${{ needs.set-config.outputs.BIN_NAME }}" destination: "rerun-builds/commit/${{ steps.get-sha.outputs.sha }}/rerun-cli/${{ inputs.PLATFORM }}" @@ -191,7 +191,7 @@ jobs: - name: "Upload rerun-cli (adhoc)" if: ${{ inputs.ADHOC_NAME != '' }} - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: "./target/${{ needs.set-config.outputs.TARGET }}/release/${{ needs.set-config.outputs.BIN_NAME }}" destination: "rerun-builds/adhoc/${{inputs.ADHOC_NAME}}/rerun-cli/${{ inputs.PLATFORM }}" diff --git a/.github/workflows/reusable_build_and_upload_wheels.yml b/.github/workflows/reusable_build_and_upload_wheels.yml index ef58f4557b82..d81790146a3c 100644 --- a/.github/workflows/reusable_build_and_upload_wheels.yml +++ b/.github/workflows/reusable_build_and_upload_wheels.yml @@ -206,7 +206,7 @@ jobs: - name: Save wheel artifact if: ${{ inputs.WHEEL_ARTIFACT_NAME != '' }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{inputs.WHEEL_ARTIFACT_NAME}} path: dist/${{ needs.set-config.outputs.TARGET }} diff --git a/.github/workflows/reusable_build_examples.yml b/.github/workflows/reusable_build_examples.yml index 2c2411057738..24f5918d9cbd 100644 --- a/.github/workflows/reusable_build_examples.yml +++ b/.github/workflows/reusable_build_examples.yml @@ -53,7 +53,7 @@ jobs: pixi-version: v0.18.0 - name: Download Wheel - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ inputs.WHEEL_ARTIFACT_NAME }} path: wheel @@ -100,7 +100,7 @@ jobs: example_data/snippets - name: Upload assets - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: example_data path: example_data diff --git a/.github/workflows/reusable_build_web.yml b/.github/workflows/reusable_build_web.yml index 7c3e571623b8..5393401340fa 100644 --- a/.github/workflows/reusable_build_web.yml +++ b/.github/workflows/reusable_build_web.yml @@ -76,7 +76,7 @@ jobs: web_viewer/examples_manifest.json - name: Upload web viewer - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: web_viewer path: web_viewer diff --git a/.github/workflows/reusable_bundle_and_upload_rerun_cpp.yml b/.github/workflows/reusable_bundle_and_upload_rerun_cpp.yml index 33df3acec442..83d9d6df4ba5 100644 --- a/.github/workflows/reusable_bundle_and_upload_rerun_cpp.yml +++ b/.github/workflows/reusable_bundle_and_upload_rerun_cpp.yml @@ -31,13 +31,13 @@ jobs: ref: ${{ inputs.RELEASE_COMMIT || ((github.event_name == 'pull_request' && github.event.pull_request.head.ref) || '') }} - id: "auth" - uses: google-github-actions/auth@v1 + uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ secrets.GOOGLE_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }} - name: "Set up Cloud SDK" - uses: "google-github-actions/setup-gcloud@v1" + uses: "google-github-actions/setup-gcloud@v2" with: version: ">= 363.0.0" diff --git a/.github/workflows/reusable_deploy_landing_preview.yml b/.github/workflows/reusable_deploy_landing_preview.yml index e1198e3124f5..e5e9abe85d17 100644 --- a/.github/workflows/reusable_deploy_landing_preview.yml +++ b/.github/workflows/reusable_deploy_landing_preview.yml @@ -49,7 +49,7 @@ jobs: - name: Create PR comment # https://github.com/mshick/add-pr-comment - uses: mshick/add-pr-comment@v2.8.1 + uses: mshick/add-pr-comment@v2.8.2 with: repo-token: ${{ secrets.GITHUB_TOKEN }} message: | diff --git a/.github/workflows/reusable_pip_index.yml b/.github/workflows/reusable_pip_index.yml index 2179d0613414..6c177a18b781 100644 --- a/.github/workflows/reusable_pip_index.yml +++ b/.github/workflows/reusable_pip_index.yml @@ -32,18 +32,18 @@ jobs: ref: ${{ inputs.COMMIT || (github.event_name == 'pull_request' && github.event.pull_request.head.ref || '') }} - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.11 - id: "auth" - uses: google-github-actions/auth@v1 + uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ secrets.GOOGLE_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }} - name: "Set up Cloud SDK" - uses: "google-github-actions/setup-gcloud@v1" + uses: "google-github-actions/setup-gcloud@v2" with: version: ">= 363.0.0" diff --git a/.github/workflows/reusable_pr_summary.yml b/.github/workflows/reusable_pr_summary.yml index cccc509e6173..b0e5c3a5bb9f 100644 --- a/.github/workflows/reusable_pr_summary.yml +++ b/.github/workflows/reusable_pr_summary.yml @@ -32,18 +32,18 @@ jobs: ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || '' }} - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.11 - id: "auth" - uses: google-github-actions/auth@v1 + uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ secrets.GOOGLE_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }} - name: "Set up Cloud SDK" - uses: "google-github-actions/setup-gcloud@v1" + uses: "google-github-actions/setup-gcloud@v2" with: version: ">= 363.0.0" diff --git a/.github/workflows/reusable_publish_web.yml b/.github/workflows/reusable_publish_web.yml index 8230e3513e9d..7c925bcc9177 100644 --- a/.github/workflows/reusable_publish_web.yml +++ b/.github/workflows/reusable_publish_web.yml @@ -54,13 +54,13 @@ jobs: ref: ${{ inputs.release-commit }} - id: "auth" - uses: google-github-actions/auth@v1 + uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ secrets.GOOGLE_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }} - name: "Set up Cloud SDK" - uses: "google-github-actions/setup-gcloud@v1" + uses: "google-github-actions/setup-gcloud@v2" with: version: ">= 363.0.0" @@ -78,7 +78,7 @@ jobs: # built by `reusable_build_and_publish_wheels` - name: Download Wheel - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ inputs.wheel-artifact-name }} path: wheel @@ -126,14 +126,14 @@ jobs: web_viewer/examples_manifest.json - name: Upload app.rerun.io (versioned) - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: "web_viewer" destination: "rerun-web-viewer/version/${{ inputs.release-version }}" parent: false - name: Upload app.rerun.io (commit) - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: "web_viewer" destination: "rerun-web-viewer/commit/${{ needs.get-commit-sha.outputs.short-sha }}" diff --git a/.github/workflows/reusable_publish_wheels.yml b/.github/workflows/reusable_publish_wheels.yml index 274b72c406dd..ed8b5e3afa30 100644 --- a/.github/workflows/reusable_publish_wheels.yml +++ b/.github/workflows/reusable_publish_wheels.yml @@ -152,13 +152,13 @@ jobs: ref: ${{ inputs.release-commit }} - id: "auth" - uses: google-github-actions/auth@v1 + uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ secrets.GOOGLE_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }} - name: "Set up Cloud SDK" - uses: "google-github-actions/setup-gcloud@v1" + uses: "google-github-actions/setup-gcloud@v2" with: version: ">= 363.0.0" diff --git a/.github/workflows/reusable_run_notebook.yml b/.github/workflows/reusable_run_notebook.yml index b741ad6750e2..c10ff10df916 100644 --- a/.github/workflows/reusable_run_notebook.yml +++ b/.github/workflows/reusable_run_notebook.yml @@ -34,7 +34,7 @@ jobs: ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || '' }} - name: Download Wheel Artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ inputs.WHEEL_ARTIFACT_NAME }} path: wheel_artifact @@ -66,7 +66,7 @@ jobs: jupyter nbconvert --to=html --ExecutePreprocessor.enabled=True examples/python/notebook/cube.ipynb --output /tmp/cube.html - id: "auth" - uses: google-github-actions/auth@v1 + uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ secrets.GOOGLE_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }} @@ -79,7 +79,7 @@ jobs: echo "sha=$(echo $full_commit | cut -c1-7)" >> "$GITHUB_OUTPUT" - name: "Upload Notebook" - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: "/tmp/cube.html" destination: "rerun-builds/commit/${{ steps.get-sha.outputs.sha }}/notebooks" diff --git a/.github/workflows/reusable_sync_release_assets.yml b/.github/workflows/reusable_sync_release_assets.yml index fea9ddb54604..b94288ccda20 100644 --- a/.github/workflows/reusable_sync_release_assets.yml +++ b/.github/workflows/reusable_sync_release_assets.yml @@ -45,13 +45,13 @@ jobs: run: pip install google-cloud-storage "PyGithub==1.59.0" "requests>=2.31,<3" - id: "auth" - uses: google-github-actions/auth@v1 + uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ secrets.GOOGLE_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }} - name: "Set up Cloud SDK" - uses: "google-github-actions/setup-gcloud@v1" + uses: "google-github-actions/setup-gcloud@v2" with: version: ">= 363.0.0" diff --git a/.github/workflows/reusable_test_wheels.yml b/.github/workflows/reusable_test_wheels.yml index 160271a83567..dc82c73621ff 100644 --- a/.github/workflows/reusable_test_wheels.yml +++ b/.github/workflows/reusable_test_wheels.yml @@ -152,7 +152,7 @@ jobs: shell: bash - name: Download Wheel - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ inputs.WHEEL_ARTIFACT_NAME }} path: wheel diff --git a/.github/workflows/reusable_track_size.yml b/.github/workflows/reusable_track_size.yml index 4df28e81bd85..0dc0ce530c32 100644 --- a/.github/workflows/reusable_track_size.yml +++ b/.github/workflows/reusable_track_size.yml @@ -33,24 +33,24 @@ jobs: echo "short_sha=$(echo ${{ github.sha }} | cut -c1-7)" >> "$GITHUB_OUTPUT" - id: "auth" - uses: google-github-actions/auth@v1 + uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ secrets.GOOGLE_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }} - name: "Set up Cloud SDK" - uses: "google-github-actions/setup-gcloud@v1" + uses: "google-github-actions/setup-gcloud@v2" with: version: ">= 363.0.0" - name: Download web_viewer - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: web_viewer path: web_viewer - name: Download examples - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: example_data path: example_data @@ -132,7 +132,7 @@ jobs: echo "is comparison set: $is_comparison_set" - name: Upload data to GCS (commit) - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: /tmp/data.json destination: "rerun-builds/sizes/commit/${{ steps.context.outputs.short_sha }}" @@ -145,7 +145,7 @@ jobs: - name: Upload index if: github.ref == 'refs/heads/main' - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: /tmp/index destination: "rerun-builds/sizes" @@ -153,7 +153,7 @@ jobs: - name: Create PR comment if: inputs.PR_NUMBER != '' && steps.measure.outputs.is_comparison_set == 'true' # https://github.com/mshick/add-pr-comment - uses: mshick/add-pr-comment@v2.8.1 + uses: mshick/add-pr-comment@v2.8.2 with: repo-token: ${{ secrets.GITHUB_TOKEN }} message: | diff --git a/.github/workflows/reusable_update_pr_body.yml b/.github/workflows/reusable_update_pr_body.yml index 9e45202eb980..927bd03026d1 100644 --- a/.github/workflows/reusable_update_pr_body.yml +++ b/.github/workflows/reusable_update_pr_body.yml @@ -32,7 +32,7 @@ jobs: ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || '' }} - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.11 diff --git a/.github/workflows/reusable_upload_examples.yml b/.github/workflows/reusable_upload_examples.yml index cfbd28f8e29c..22a0bbf3a506 100644 --- a/.github/workflows/reusable_upload_examples.yml +++ b/.github/workflows/reusable_upload_examples.yml @@ -45,14 +45,14 @@ jobs: ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || '' }} - name: Download assets - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: example_data path: example_data # Upload the wasm, html etc to a Google cloud bucket: - id: "auth" - uses: google-github-actions/auth@v1 + uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ secrets.GOOGLE_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }} @@ -66,7 +66,7 @@ jobs: - name: "Upload examples (commit)" if: ${{ !inputs.NIGHTLY }} - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: "example_data" destination: "rerun-web-viewer/commit/${{ steps.get-sha.outputs.sha }}/examples" @@ -74,7 +74,7 @@ jobs: - name: "Upload examples (tagged)" if: inputs.MARK_TAGGED_VERSION - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: "example_data" destination: "rerun-web-viewer/version/${{ inputs.RELEASE_VERSION }}/examples" @@ -82,7 +82,7 @@ jobs: - name: "Upload examples (adhoc)" if: ${{ inputs.ADHOC_NAME != '' }} - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: "example_data" destination: "rerun-web-viewer/adhoc/${{ inputs.ADHOC_NAME }}/examples" @@ -90,7 +90,7 @@ jobs: - name: "Upload examples (prerelease)" if: github.ref == 'refs/heads/main' - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: "example_data" destination: "rerun-web-viewer/prerelease/examples" @@ -100,7 +100,7 @@ jobs: - name: "Upload examples (main)" if: github.ref == 'refs/heads/main' - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: "example_data" destination: "rerun-web-viewer/version/main/examples" @@ -110,7 +110,7 @@ jobs: - name: "Upload examples (pr)" if: ${{ inputs.PR_NUMBER != '' }} - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: "example_data" destination: "rerun-web-viewer/pr/${{ inputs.PR_NUMBER }}/examples" @@ -120,7 +120,7 @@ jobs: - name: "Upload examples (nightly)" if: ${{ inputs.NIGHTLY }} - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: "example_data" destination: "rerun-web-viewer/version/nightly/examples" diff --git a/.github/workflows/reusable_upload_web.yml b/.github/workflows/reusable_upload_web.yml index b2a43a745611..97da0f4c50b8 100644 --- a/.github/workflows/reusable_upload_web.yml +++ b/.github/workflows/reusable_upload_web.yml @@ -46,14 +46,14 @@ jobs: ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || '' }} - name: Download Web Viewer - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: web_viewer path: web_viewer # Upload the wasm, html etc to a Google cloud bucket: - id: "auth" - uses: google-github-actions/auth@v1 + uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ secrets.GOOGLE_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }} @@ -67,7 +67,7 @@ jobs: - name: "Upload web-viewer (commit)" if: ${{ !inputs.NIGHTLY }} - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: "web_viewer" destination: "rerun-web-viewer/commit/${{ steps.get-sha.outputs.sha }}" @@ -75,7 +75,7 @@ jobs: - name: "Upload web-viewer (tagged)" if: inputs.MARK_TAGGED_VERSION - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: "web_viewer" destination: "rerun-web-viewer/version/${{inputs.RELEASE_VERSION}}" @@ -83,7 +83,7 @@ jobs: - name: "Upload web-viewer (adhoc)" if: ${{ inputs.ADHOC_NAME != '' }} - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: "web_viewer" destination: "rerun-web-viewer/adhoc/${{inputs.ADHOC_NAME}}" @@ -91,7 +91,7 @@ jobs: - name: "Upload web-viewer (prerelease)" if: github.ref == 'refs/heads/main' - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: "web_viewer" destination: "rerun-web-viewer/prerelease" @@ -101,7 +101,7 @@ jobs: - name: "Upload web-viewer (main)" if: github.ref == 'refs/heads/main' - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: "web_viewer" destination: "rerun-web-viewer/version/main" @@ -111,7 +111,7 @@ jobs: - name: "Upload web-viewer (pr)" if: ${{ inputs.PR_NUMBER != '' }} - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: "web_viewer" destination: "rerun-web-viewer/pr/${{ inputs.PR_NUMBER }}" @@ -121,7 +121,7 @@ jobs: - name: "Upload web-viewer (nightly)" if: ${{ inputs.NIGHTLY }} - uses: google-github-actions/upload-cloud-storage@v1 + uses: google-github-actions/upload-cloud-storage@v2 with: path: "web_viewer" destination: "rerun-web-viewer/version/nightly"