Skip to content

Commit 0df45a1

Browse files
mmckyclaude
andauthored
Use auto-activate instead of the deprecated auto-activate-base (#172)
setup-miniconda v4 warns on every run: `auto-activate-base` is deprecated. Please use `auto-activate`. Rename the input in ci.yml, cache.yml and publish.yml. The value stays true, and the installer's default environment is base, so the second half of the warning (add `activate-environment: base`) does not apply; each job still activates the quantecon environment. Claude-Session: https://claude.ai/code/session_01Wyb6EzbNzY5a8uuJPnDtUb Co-authored-by: Claude <noreply@anthropic.com>
1 parent 9457ef8 commit 0df45a1

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/cache.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
uses: conda-incubator/setup-miniconda@v4
1313
with:
1414
auto-update-conda: true
15-
auto-activate-base: true
15+
auto-activate: true
1616
miniconda-version: 'latest'
1717
python-version: "3.13"
1818
environment-file: environment.yml

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
uses: conda-incubator/setup-miniconda@v4
1212
with:
1313
auto-update-conda: true
14-
auto-activate-base: true
14+
auto-activate: true
1515
miniconda-version: 'latest'
1616
python-version: "3.13"
1717
environment-file: environment.yml

‎.github/workflows/publish.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: conda-incubator/setup-miniconda@v4
1717
with:
1818
auto-update-conda: true
19-
auto-activate-base: true
19+
auto-activate: true
2020
miniconda-version: 'latest'
2121
python-version: "3.13"
2222
environment-file: environment.yml

0 commit comments

Comments
 (0)