We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01312c5 commit bedcccdCopy full SHA for bedcccd
1 file changed
.github/workflows/unit_tests.yml
@@ -283,11 +283,11 @@ jobs:
283
else
284
echo "[INFO] Current Python is not 3.14t, skip torchao."
285
fi
286
-
287
- ${{ matrix.install_cmd }}
+
+ ${{ matrix.install_cmd }} || echo "RETRY_INSTALL=true" >> $GITHUB_ENV
288
289
- name: Clear installer cache on failure
290
- if: failure()
+ if: always() && env.RETRY_INSTALL == 'true'
291
run: |
292
source "${{ matrix.env_name }}/bin/activate"
293
@@ -302,7 +302,7 @@ jobs:
302
303
304
- name: retry ${{ matrix.name }}
305
306
307
308
if [[ "${{ matrix.use_pip }}" == "true" ]]; then
0 commit comments