mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-09-07 07:12:52 +02:00
only update conda env if cache was not hit
This commit is contained in:
parent
a841e96bd2
commit
3f3e684811
1 changed files with 1 additions and 0 deletions
1
.github/workflows/central-controller.yaml
vendored
1
.github/workflows/central-controller.yaml
vendored
|
@ -26,6 +26,7 @@ jobs:
|
|||
path: ${{ env.CONDA }}/envs
|
||||
key: ${{ runner.os }}-${{ runner.arch }}-${{ github.ref_name }}-conda-${{ hashFiles('environment.yml') }}
|
||||
- name: Update Conda Environment
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
source ~/miniconda3/etc/profile.d/conda.sh
|
||||
conda env update --file environment.yml
|
||||
|
|
Loading…
Add table
Reference in a new issue