@@ -409,22 +409,6 @@ jobs:
409409 name : log-artifact
410410 path : build-results-desktop-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.ssl_variant }}*
411411 retention-days : ${{ env.artifactRetentionDays }}
412- - name : Cleanup Local Copies of Uploaded Artifacts
413- shell : bash
414- run : |
415- rm -rf testapps-desktop-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.ssl_variant }}
416- - name : Set CLOUDSDK_PYTHON (Windows)
417- shell : bash
418- if : startsWith(matrix.os, 'windows') && !cancelled()
419- run : echo "CLOUDSDK_PYTHON=${{env.pythonLocation}}\python.exe" >> $GITHUB_ENV
420- - name : Install Cloud SDK
421- if : ${{ !cancelled() }}
422- uses : google-github-actions/setup-gcloud@v0
423- - name : Upload Desktop Artifacts to GCS
424- shell : bash
425- if : ${{ !cancelled() }}
426- run : |
427- python scripts/gha/gcs_uploader.py --testapp_dir ta --key_file scripts/gha-encrypted/gcs_key_file.json
428412 - name : Download log artifacts
429413 if : ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
430414 uses : actions/download-artifact@v3
@@ -900,7 +884,6 @@ jobs:
900884 shell : bash
901885 command : |
902886 pip install -r scripts/gha/requirements.txt
903- python scripts/gha/restore_secrets.py --passphrase "${{ secrets.TEST_SECRET }}" --artifact "testapps/testapps-desktop-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.ssl_variant }}"
904887 - name : Setup java
905888 uses : actions/setup-java@v3
906889 with :
@@ -1178,12 +1161,12 @@ jobs:
11781161 timeout-minutes : 60
11791162 if : steps.get-device-type.outputs.device_type == 'real'
11801163 run : |
1181- python scripts/gha/restore_secrets.py --passphrase "${{ secrets.TEST_SECRET }}"
11821164 python scripts/gha/test_lab.py --testapp_dir testapps \
11831165 --android_device "${{ matrix.android_device }}" \
11841166 --logfile_name "android-${{ matrix.build_os }}-${{ matrix.android_device }}" \
11851167 --code_platform cpp \
1186- --key_file scripts/gha-encrypted/gcs_key_file.json
1168+ --key_file_encrypted scripts/gha-encrypted/gcs_key_file.json.gpg \
1169+ --key_file_passphrase "${{ secrets.TEST_SECRET }}"
11871170 - name : Prepare results summary artifact
11881171 if : ${{ !cancelled() }}
11891172 shell : bash
@@ -1289,12 +1272,12 @@ jobs:
12891272 timeout-minutes : 60
12901273 if : steps.get-device-type.outputs.device_type == 'real'
12911274 run : |
1292- python scripts/gha/restore_secrets.py --passphrase "${{ secrets.TEST_SECRET }}"
12931275 python scripts/gha/test_lab.py --testapp_dir testapps \
12941276 --ios_device "${{ matrix.ios_device }}" \
12951277 --logfile_name "ios-${{ matrix.build_os }}-${{ matrix.ios_device }}" \
12961278 --code_platform cpp \
1297- --key_file scripts/gha-encrypted/gcs_key_file.json
1279+ --key_file_encrypted scripts/gha-encrypted/gcs_key_file.json.gpg \
1280+ --key_file_passphrase "${{ secrets.TEST_SECRET }}"
12981281 - name : Prepare results summary artifact
12991282 if : ${{ !cancelled() }}
13001283 shell : bash
0 commit comments