Skip to content

Commit

Permalink
[ci] Use a different cache key for torch nightly vs stable.
Browse files Browse the repository at this point in the history
  • Loading branch information
stellaraccident committed Jan 28, 2024
1 parent 4513c3c commit 6b3ebb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ jobs:
uses: actions/cache/restore@v3
with:
path: ${{ env.CACHE_DIR }}
key: build-test-cpp-asserts-manylinux-v2-${{ github.sha }}
key: build-test-cpp-asserts-manylinux-${{ matrix.torch-version }}-v2-${{ github.sha }}

Check failure on line 48 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / Static Lint Checks

48:81 [line-length] line too long (96 > 80 characters)
restore-keys: |
build-test-cpp-asserts-manylinux-v2-
build-test-cpp-asserts-manylinux-${{ matrix.torch-version }}-v2-
- name: Install python deps (torch-${{ matrix.torch-version }})
run: |
Expand All @@ -64,7 +64,7 @@ jobs:
if: ${{ !cancelled() }}
with:
path: ${{ env.CACHE_DIR }}
key: build-test-cpp-asserts-manylinux-v2-${{ github.sha }}
key: build-test-cpp-asserts-manylinux-${{ matrix.torch-version }}-v2-${{ github.sha }}

Check failure on line 67 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / Static Lint Checks

67:81 [line-length] line too long (96 > 80 characters)

- name: Integration tests (torch-${{ matrix.torch-version }})
run: |
Expand Down

0 comments on commit 6b3ebb2

Please sign in to comment.