diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 367e710c4..5ac34f9b8 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -132,9 +132,11 @@ jobs: - name: Upload the package to anaconda channel (only on master) if: github.ref == 'refs/heads/master' || contains(github.ref, 'refs/tags/') working-directory: hexrdgui/packaging + # force tar.bz2 files with '--set conda_build.pkg_format 1' run: | conda activate hexrdgui-package conda install --override-channels -c conda-forge anaconda-client + conda config --set conda_build.pkg_format 1 anaconda --token ${{ secrets.ANACONDA_TOKEN }} upload --force --user HEXRD --label ${HEXRDGUI_PACKAGE_LABEL} output/**/*.tar.bz2 # This is need to ensure ~/.profile or ~/.bashrc are used so the activate # command works.