mirror of
https://github.com/trezor/trezor-firmware.git
synced 2026-02-20 00:33:30 +01:00
ci(tests): use copy --no-overwrite instead of sync for screenshots upload
[no changelog]
This commit is contained in:
6
.github/actions/ui-report/action.yml
vendored
6
.github/actions/ui-report/action.yml
vendored
@@ -53,16 +53,16 @@ runs:
|
||||
# Upload report
|
||||
du -sh ${{ github.run_id }}
|
||||
ls -l ${{ github.run_id }}
|
||||
aws s3 cp --recursive --only-show-errors ${{ github.run_id }} s3://data.trezor.io/dev/firmware/ui_report/${{ github.run_id }} &
|
||||
aws s3 cp --no-overwrite --recursive --only-show-errors ${{ github.run_id }} s3://data.trezor.io/dev/firmware/ui_report/${{ github.run_id }} &
|
||||
PID1=$!
|
||||
|
||||
# Upload test screen recording
|
||||
du -sh ci/ui_test_records
|
||||
aws s3 sync --only-show-errors ci/ui_test_records s3://data.trezor.io/dev/firmware/ui_tests &
|
||||
aws s3 cp --no-overwrite --recursive --only-show-errors ci/ui_test_records s3://data.trezor.io/dev/firmware/ui_tests &
|
||||
PID2=$!
|
||||
# TODO: generate directory listing / autoindex
|
||||
|
||||
# Wait for the above sync jobs to finish (fail if one of them fails)
|
||||
# Wait for the above copy jobs to finish (fail if one of them fails)
|
||||
wait $PID1
|
||||
wait $PID2
|
||||
shell: sh
|
||||
|
||||
Reference in New Issue
Block a user