From 49d5e0baf94936660a4b2c35800445bf3bc08bd8 Mon Sep 17 00:00:00 2001 From: Jirka Date: Wed, 15 Feb 2023 18:08:02 +0100 Subject: [PATCH] ci: if cache/wheels missing --- .github/workflows/ci-tests-app.yml | 4 +++- .github/workflows/ci-tests-fabric.yml | 4 +++- .github/workflows/ci-tests-pytorch.yml | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-tests-app.yml b/.github/workflows/ci-tests-app.yml index 09a58411fef73..3ec23e23446cd 100644 --- a/.github/workflows/ci-tests-app.yml +++ b/.github/workflows/ci-tests-app.yml @@ -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 diff --git a/.github/workflows/ci-tests-fabric.yml b/.github/workflows/ci-tests-fabric.yml index a79b06f71558c..eb3980323a48d 100644 --- a/.github/workflows/ci-tests-fabric.yml +++ b/.github/workflows/ci-tests-fabric.yml @@ -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 diff --git a/.github/workflows/ci-tests-pytorch.yml b/.github/workflows/ci-tests-pytorch.yml index d2cd9cc24c374..f47a66ee7e8b7 100644 --- a/.github/workflows/ci-tests-pytorch.yml +++ b/.github/workflows/ci-tests-pytorch.yml @@ -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: |