Skip to content

Commit

Permalink
Conda Deployment issues workaround (#338)
Browse files Browse the repository at this point in the history
* Davide's workaround to publish package to conda
  • Loading branch information
charles-turner-1 authored Feb 14, 2025
1 parent b9e2838 commit 6a6d5bc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,21 @@ jobs:
auto-update-conda: false
auto-activate-base: false
show-channel-urls: true

- name: Enforce .tar.bz2 packages
# Temporary work-arounds while the action uibcdf/action-build-and-upload-conda-packages gets updated:
# We create a `~/.condarc` file with the correct options to enforce the use of `.tar.bz2` packages
# and we set the channels to be used by conda build
shell: bash
run: |
cat > ~/.condarc << EOF
conda-build:
pkg_format: .tar.bz2
channels:
- accessnri
- conda-forge
- nodefaults
EOF
- name: Build and upload the conda package
uses: uibcdf/[email protected]
Expand Down

0 comments on commit 6a6d5bc

Please sign in to comment.