ci/hotfix: if cache/wheels missing (#16769)

This commit is contained in:
Jirka Borovec 2023-02-16 03:23:23 +09:00 committed by GitHub
parent 89ef9e750a
commit 0628ec83c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View File

@ -68,7 +68,9 @@ jobs:
path: .wheels
key: pip_wheels # to not being cleand with crone
enableCrossOsArchive: true
- run: ls -lh .wheels/
- run: |
mkdir -p .wheels
ls -lh .wheels/
- name: Switch PyTorch URL
run: python -c "print('TORCH_URL=https://download.pytorch.org/whl/' + str('test/cpu/torch_test.html' if '${{matrix.release}}' == 'pre' else 'cpu/torch_stable.html'))" >> $GITHUB_ENV

View File

@ -92,7 +92,9 @@ jobs:
path: .wheels
key: pip_wheels # to not being cleand with crone
enableCrossOsArchive: true
- run: ls -lh .wheels/
- run: |
mkdir -p .wheels
ls -lh .wheels/
- name: Switch PyTorch URL
run: python -c "print('TORCH_URL=https://download.pytorch.org/whl/' + str('test/cpu/torch_test.html' if '${{matrix.release}}' == 'pre' else 'cpu/torch_stable.html'))" >> $GITHUB_ENV

View File

@ -100,7 +100,9 @@ jobs:
path: .wheels
key: pip_wheels # to not being cleand with crone
enableCrossOsArchive: true
- run: ls -lh .wheels/
- run: |
mkdir -p .wheels
ls -lh .wheels/
- name: Env. variables
run: |