@@ -10,29 +10,6 @@ defaults:
1010 shell : bash -l {0} # required for conda env
1111
1212jobs :
13- build_conda :
14- name : Conda build
15- runs-on : ' ubuntu-24.04'
16-
17- steps :
18- - uses : actions/checkout@v4
19- with :
20- submodules : true
21- fetch-depth : 0 # history required so setuptools_scm can determine version
22-
23- - uses : mamba-org/setup-micromamba@v1
24- with :
25- environment-name : build-env
26- create-args : >-
27- conda-build
28- boa
29- - run : conda mambabuild --channel conda-forge --channel scipp --no-anaconda-upload --override-channels --output-folder conda/package conda
30-
31- - uses : actions/upload-artifact@v4
32- with :
33- name : conda-package-noarch
34- path : conda/package/noarch/*.tar.bz2
35-
3613 build_wheels :
3714 name : Wheels
3815 runs-on : ' ubuntu-24.04'
6037
6138 upload_pypi :
6239 name : Deploy PyPI
63- needs : [build_wheels, build_conda ]
40+ needs : [build_wheels]
6441 runs-on : ' ubuntu-24.04'
6542 environment : release
6643 permissions :
7047 - uses : actions/download-artifact@v4
71487249
73- upload_conda :
74- name : Deploy Conda
75- needs : [build_wheels, build_conda]
76- runs-on : ' ubuntu-24.04'
77- if : github.event_name == 'release' && github.event.action == 'published'
78-
79- steps :
80- - uses : actions/download-artifact@v4
81- - uses : mamba-org/setup-micromamba@v1
82- with :
83- environment-name : upload-env
84- # frozen python due to breaking removal of 'imp' in 3.12
85- create-args : >-
86- anaconda-client
87- python=3.11
88- - run : anaconda --token ${{ secrets.ANACONDATOKEN }} upload --user scipp --label main $(ls conda-package-noarch/*.tar.bz2)
89-
9050 docs :
91- needs : [upload_conda, upload_pypi]
51+ needs : [upload_pypi]
9252 uses : ./.github/workflows/docs.yml
9353 with :
9454 publish : ${{ github.event_name == 'release' && github.event.action == 'published' }}
0 commit comments