We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77a9240 commit a0d81f8Copy full SHA for a0d81f8
.github/workflows/android-perf.yml
@@ -301,11 +301,8 @@ jobs:
301
# The model will be exported in the next step to this S3 path
302
MODEL_PATH="https://gha-artifacts.s3.amazonaws.com/${{ github.repository }}/${{ github.run_id }}/artifacts/${{ matrix.model }}_${{ matrix.config }}/model.zip"
303
304
- # Check if the model artifact is successfully uploaded from previous step, failed to upload the test-spec if it does not exist.
305
- if ! curl -s --head -f ${MODEL_PATH}; then
306
- echo "failed to retrieve ${MODEL_PATH}"
307
- exit 1;
308
- fi
+ # Check if the model artifact exists, fail this step skip generating test-spec.
+ curl -s --head -f ${MODEL_PATH}
309
310
# We could write a script to properly use jinja here, but there is only one variable,
311
# so let's just sed it
0 commit comments