diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 7eda3f4..5d67eb2 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -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: