put git branch ref into cache key name

This commit is contained in:
Grant Limberg 2025-09-03 10:40:31 -07:00
parent 3ff4d67d21
commit a841e96bd2

View file

@ -24,7 +24,7 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ env.CONDA }}/envs
key: ${{ runner.os }}-${{ runner.arch }}-conda-${{ hashFiles('environment.yml') }}
key: ${{ runner.os }}-${{ runner.arch }}-${{ github.ref_name }}-conda-${{ hashFiles('environment.yml') }}
- name: Update Conda Environment
run: |
source ~/miniconda3/etc/profile.d/conda.sh