Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 5 additions & 28 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -218,24 +218,6 @@ jobs:
channels: ccpbiosim,conda-forge
channel-priority: strict

- name: Configure Conda channels
shell: bash -l {0}
run: |
conda config --remove-key channels || true
conda config --add channels https://conda.anaconda.org/ccpbiosim
conda config --add channels https://conda.anaconda.org/conda-forge
conda config --set channel_priority strict
conda config --show channels

- name: Verify biosim-schema
shell: bash -l {0}
run: |
conda search \
--override-channels \
-c https://conda.anaconda.org/ccpbiosim \
-c https://conda.anaconda.org/conda-forge \
"biosim-schema>=1.0,<2.0"

- name: Install build tools
shell: bash -l {0}
run: |
Expand All @@ -249,20 +231,15 @@ jobs:
env:
PIP_NO_INDEX: "0"
run: |
PKG_PATH=$(conda build conda-recipe \
--override-channel \
-c https://conda.anaconda.org/ccpbiosim \
-c https://conda.anaconda.org/conda-forge \
--output)

PKG_PATH=$(conda build conda-recipe -c CCPBioSim -c conda-forge --output)
echo "PKG_PATH=$PKG_PATH" >> "$GITHUB_ENV"

conda build conda-recipe \
--override-channel \
-c https://conda.anaconda.org/ccpbiosim \
-c https://conda.anaconda.org/conda-forge

-c CCPBioSim \
-c conda-forge \
--override-channel
test -f "$PKG_PATH"
echo "Built: $PKG_PATH"

- name: Upload to Anaconda
shell: bash -l {0}
Expand Down
Loading