Skip to content

Commit

Permalink
Add workaround for conda publishing issue (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanBryan51 authored Feb 12, 2025
1 parent b580a69 commit ec6b20b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,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
- coecms
- nodefaults
EOF
- name: Build and upload the conda packages
uses: uibcdf/action-build-and-upload-conda-packages@v1.2.0
with:
Expand Down

0 comments on commit ec6b20b

Please sign in to comment.