Skip to content

Commit 3eeb495

Browse files
fix workflow to use correct Conda activation path and ensure proper package build
1 parent 239e172 commit 3eeb495

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,15 @@ jobs:
4848
python-version: 3.12
4949

5050
- name: Initialize Conda
51-
run: source $CONDA/bin/activate
51+
run: source /usr/share/miniconda/bin/activate
5252

5353
- name: Install Conda Build Tool
5454
run: conda install -y conda-build
5555

5656
- name: Build Conda Package
57-
run: conda-build .
57+
run: |
58+
source /usr/share/miniconda/bin/activate
59+
conda-build .
5860
5961
- name: publish-to-conda
6062
uses: fcakyon/[email protected]

0 commit comments

Comments
 (0)