From 0628ec83c4672aff81a77129c2f553d1d36f6406 Mon Sep 17 00:00:00 2001 From: Jirka Borovec <6035284+Borda@users.noreply.github.com> Date: Thu, 16 Feb 2023 03:23:23 +0900 Subject: [PATCH] ci/hotfix: if cache/wheels missing (#16769) --- .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 09a58411fe..3ec23e2344 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 a79b06f715..eb3980323a 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 d2cd9cc24c..f47a66ee7e 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: |