Skip to content

Commit

Permalink
ci: if cache/wheels missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Feb 15, 2023
1 parent 104290e commit 49d5e0b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci-tests-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci-tests-fabric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci-tests-pytorch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 49d5e0b

Please sign in to comment.