Skip to content

Commit a0d81f8

Browse files
committed
replace fetcher
1 parent 77a9240 commit a0d81f8

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/android-perf.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,8 @@ jobs:
301301
# The model will be exported in the next step to this S3 path
302302
MODEL_PATH="https://gha-artifacts.s3.amazonaws.com/${{ github.repository }}/${{ github.run_id }}/artifacts/${{ matrix.model }}_${{ matrix.config }}/model.zip"
303303
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
304+
# Check if the model artifact exists, fail this step skip generating test-spec.
305+
curl -s --head -f ${MODEL_PATH}
309306
310307
# We could write a script to properly use jinja here, but there is only one variable,
311308
# so let's just sed it

0 commit comments

Comments
 (0)