mirror of https://github.com/llvm/torch-mlir
[ci] Use a different cache key for torch nightly vs stable.
parent
4513c3ca87
commit
6b3ebb237f
|
@ -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 }}
|
||||
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: |
|
||||
|
@ -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 }}
|
||||
|
||||
- name: Integration tests (torch-${{ matrix.torch-version }})
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue