Skip to content

Commit 62d8935

Browse files
authored
Merge pull request #62 from CABLE-LSM/61-conda-package-not-uploading
Temporary fix to get releases working again. Fixes #61
2 parents 28afbf0 + edf4e60 commit 62d8935

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/cd.yml

+15
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,21 @@ jobs:
1818
auto-update-conda: false
1919
auto-activate-base: false
2020
show-channel-urls: true
21+
- name: Enforce .tar.bz2 packages
22+
# Temporary work-arounds while the action uibcdf/action-build-and-upload-conda-packages gets updated:
23+
# We create a `~/.condarc` file with the correct options to enforce the use of `.tar.bz2` packages
24+
# and we set the channels to be used by conda build
25+
shell: bash
26+
run: |
27+
cat > ~/.condarc << EOF
28+
conda-build:
29+
pkg_format: .tar.bz2
30+
channels:
31+
- accessnri
32+
- conda-forge
33+
- coecms
34+
- nodefaults
35+
EOF
2136
- name: Build and upload the conda packages
2237
uses: uibcdf/[email protected]
2338
with:

0 commit comments

Comments
 (0)