@@ -409,22 +409,6 @@ jobs:
409
409
name : log-artifact
410
410
path : build-results-desktop-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.ssl_variant }}*
411
411
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
428
412
- name : Download log artifacts
429
413
if : ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
430
414
uses : actions/download-artifact@v3
@@ -900,7 +884,6 @@ jobs:
900
884
shell : bash
901
885
command : |
902
886
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 }}"
904
887
- name : Setup java
905
888
uses : actions/setup-java@v3
906
889
with :
@@ -1178,12 +1161,12 @@ jobs:
1178
1161
timeout-minutes : 60
1179
1162
if : steps.get-device-type.outputs.device_type == 'real'
1180
1163
run : |
1181
- python scripts/gha/restore_secrets.py --passphrase "${{ secrets.TEST_SECRET }}"
1182
1164
python scripts/gha/test_lab.py --testapp_dir testapps \
1183
1165
--android_device "${{ matrix.android_device }}" \
1184
1166
--logfile_name "android-${{ matrix.build_os }}-${{ matrix.android_device }}" \
1185
1167
--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 }}"
1187
1170
- name : Prepare results summary artifact
1188
1171
if : ${{ !cancelled() }}
1189
1172
shell : bash
@@ -1289,12 +1272,12 @@ jobs:
1289
1272
timeout-minutes : 60
1290
1273
if : steps.get-device-type.outputs.device_type == 'real'
1291
1274
run : |
1292
- python scripts/gha/restore_secrets.py --passphrase "${{ secrets.TEST_SECRET }}"
1293
1275
python scripts/gha/test_lab.py --testapp_dir testapps \
1294
1276
--ios_device "${{ matrix.ios_device }}" \
1295
1277
--logfile_name "ios-${{ matrix.build_os }}-${{ matrix.ios_device }}" \
1296
1278
--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 }}"
1298
1281
- name : Prepare results summary artifact
1299
1282
if : ${{ !cancelled() }}
1300
1283
shell : bash
0 commit comments