Skip to content

Commit 3a5c29b

Browse files
committed
Refactor Conda setup in CI workflow: streamline configuration and remove caching steps
1 parent a1b622e commit 3a5c29b

1 file changed

Lines changed: 5 additions & 13 deletions

File tree

.github/workflows/cd.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,11 @@ jobs:
7878
- name: Setup conda
7979
uses: conda-incubator/setup-miniconda@v3
8080
with:
81-
auto-activate-base: true
82-
channels: conda-forge
83-
84-
- name: Cache conda build
85-
uses: actions/cache@v4
86-
with:
87-
path: ~/.conda-build
88-
key: conda-bld-${{ runner.os }}
89-
restore-keys: |
90-
conda-bld-
91-
92-
- name: Install conda build tooling
93-
run: conda install -y conda-build anaconda-client
81+
python-version: 3.11
82+
environment-file: .conda/environment.yml
83+
auto-update-conda: false
84+
auto-activate-base: false
85+
show-channel-urls: true
9486

9587
- name: Build & Upload to Conda
9688
uses: ACCESS-NRI/action-build-and-upload-conda-packages@v3.0.0

0 commit comments

Comments
 (0)