-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conda Deployment issues workaround (#338)
* Davide's workaround to publish package to conda
- Loading branch information
1 parent
b9e2838
commit 6a6d5bc
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|