Skip to content

Commit f303191

Browse files
committed
ci: Use Python version in ccache cache key
1 parent 052a8bf commit f303191

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/macos-linux-conda.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push,pull_request]
44

55
jobs:
66
hpp-fcl-conda:
7-
name: CI on ${{ matrix.os }} with Conda - ${{ matrix.build_type }} ${{ matrix.cxx_options }}
7+
name: CI on ${{ matrix.os }} with Conda Python ${{ matrix.python-version }} - ${{ matrix.build_type }} ${{ matrix.cxx_options }}
88
runs-on: ${{ matrix.os }}
99
env:
1010
CCACHE_BASEDIR: "${GITHUB_WORKSPACE}"
@@ -35,8 +35,8 @@ jobs:
3535
- uses: actions/cache@v3
3636
with:
3737
path: .ccache
38-
key: ccache-macos-linux-conda-${{ matrix.os }}-${{ matrix.build_type }}-${{ matrix.cxx_options }}-${{ github.sha }}
39-
restore-keys: ccache-macos-linux-conda-${{ matrix.os }}-${{ matrix.build_type }}-${{ matrix.cxx_options }}-
38+
key: ccache-macos-linux-conda-${{ matrix.os }}-${{ matrix.build_type }}-${{ matrix.cxx_options }}-${{ matrix.python-version }}-${{ github.sha }}
39+
restore-keys: ccache-macos-linux-conda-${{ matrix.os }}-${{ matrix.build_type }}-${{ matrix.cxx_options }}-${{ matrix.python-version }}-
4040

4141
- uses: conda-incubator/setup-miniconda@v3
4242
with:

0 commit comments

Comments
 (0)