Skip to content

Commit 9366e9f

Browse files
committed
.conda is the new package format since conda-build=25.1.0
1 parent ef4112a commit 9366e9f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/conda-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
uses: actions/upload-artifact@v5.0.0
4444
with:
4545
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }}
46-
path: /usr/share/miniconda/conda-bld/noarch/${{ env.PACKAGE_NAME }}-*.tar.bz2
46+
path: /usr/share/miniconda/conda-bld/noarch/${{ env.PACKAGE_NAME }}-*.conda
4747

4848
upload_linux:
4949
needs: build_and_test_linux
@@ -60,11 +60,11 @@ jobs:
6060
- name: Add conda to system path
6161
run: echo $CONDA/bin >> $GITHUB_PATH
6262
- name: Package version
63-
run: echo "PACKAGE_VERSION=$(basename ${{ env.PACKAGE_NAME }}-*.tar.bz2 | sed 's/^${{ env.PACKAGE_NAME }}-\([^-]*\).*/\1/')" >> $GITHUB_ENV
63+
run: echo "PACKAGE_VERSION=$(basename ${{ env.PACKAGE_NAME }}-*.conda | sed 's/^${{ env.PACKAGE_NAME }}-\([^-]*\).*/\1/')" >> $GITHUB_ENV
6464

6565
- name: Upload
6666
env:
6767
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
6868
run: |
69-
anaconda --token $ANACONDA_TOKEN upload --user dppy --label dev ${PACKAGE_NAME}-*.tar.bz2
69+
anaconda --token $ANACONDA_TOKEN upload --user dppy --label dev ${PACKAGE_NAME}-*.conda
7070

0 commit comments

Comments
 (0)