File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,20 +12,17 @@ jobs:
1212 - name : Setup Miniconda
1313 uses : conda-incubator/setup-miniconda@v3
1414 with :
15- miniconda-version : ' latest'
16- python-version : 3.12
15+ miniconda-version : " latest"
16+ python-version : " 3.12"
17+ channels : conda-forge
1718 activate-environment : lock-env
18-
19- - name : Initialize Conda
20- run : conda init bash
21- shell : bash
2219
2320 - name : Create lock file
21+ shell : bash -el {0}
2422 run : |
2523 cd $GITHUB_WORKSPACE
2624 conda install -c conda-forge -y -n lock-env conda-lock
2725 echo "DATE_TAG=$(date "+%F")" >> $GITHUB_ENV
28- conda activate lock-env
2926 conda-lock lock -c conda-forge -f desc-python/conda/lock/environment.yml -f desc-python/conda/lock/pyproject.toml --lockfile desc-py-lock-${{env.DATE_TAG}}.yml
3027 cd desc-python
3128 git checkout lock-prod
You can’t perform that action at this time.
0 commit comments