Skip to content

Commit 3b7f525

Browse files
committed
ci: build and publish CodeEntropy conda package to CCPBioSim channel
1 parent 52e79e0 commit 3b7f525

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/release.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,18 @@ jobs:
180180
181181
- name: Build package
182182
shell: bash -l {0}
183+
env:
184+
PIP_NO_INDEX: "0"
183185
run: |
186+
PKG_PATH=$(conda build conda-recipe --output)
187+
echo "PKG_PATH=$PKG_PATH" >> $GITHUB_ENV
184188
conda build conda-recipe
189+
test -f "$PKG_PATH"
190+
echo "Built: $PKG_PATH"
185191
186192
- name: Upload to Anaconda
187193
shell: bash -l {0}
188194
env:
189195
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
190196
run: |
191-
PKG_PATH=$(conda build conda-recipe --output)
192197
anaconda -t "$ANACONDA_API_TOKEN" upload "$PKG_PATH" --user CCPBioSim --force

0 commit comments

Comments
 (0)