Resolve warnings in Windows GitHub Actions periodic workflows

Upgrade actions/github-script from v3 to v6 to resolve Node.js 12
and `set-output` command warnings.
Upgrade google-github-actions/upload-cloud-storage from v0.8.0 to
v0.10.4 to resolve `set-output` command warnings.
Upgrade actions/checkout from v2 to v3 to resolve Node.js 12 warnings.
Remove references to `set-output` command from workflow.

Signed-off-by: Austin Vazquez <macedonv@amazon.com>
This commit is contained in:
Austin Vazquez
2022-11-21 04:59:25 +00:00
parent 722df11e92
commit 8c035d3873
2 changed files with 12 additions and 12 deletions

View File

@@ -266,7 +266,7 @@ jobs:
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
- name: UploadJobReport
uses: google-github-actions/upload-cloud-storage@v0.8.0
uses: google-github-actions/upload-cloud-storage@v0.10.4
if: steps.AssignGcpCreds.outputs.GCP_SERVICE_ACCOUNT && steps.AssignGcpCreds.outputs.GCP_WORKLOAD_IDENTITY_PROVIDER
with:
path: ${{ github.workspace }}/latest-build.txt
@@ -274,7 +274,7 @@ jobs:
parent: false
- name: UploadLogsDir
uses: google-github-actions/upload-cloud-storage@v0.8.0
uses: google-github-actions/upload-cloud-storage@v0.10.4
if: steps.AssignGcpCreds.outputs.GCP_SERVICE_ACCOUNT && steps.AssignGcpCreds.outputs.GCP_WORKLOAD_IDENTITY_PROVIDER
with:
path: ${{ env.LOGS_DIR }}
@@ -282,7 +282,7 @@ jobs:
parent: false
- name: Check all CI stages succeeded
uses: actions/github-script@v3
uses: actions/github-script@v6
with:
script: |
const stepResults = {