@@ -221,53 +221,4 @@ jobs:
221221 manifest-file : " .release-please-manifest.json"
222222 outputs :
223223 release_created : ${{ steps.release.outputs.release_created }}
224- # if a release is created then run the deploy scripts for github.io, conda, pypi and docker
225-
226- conda-upload :
227- needs : [conda-build]
228- if : github.ref == 'refs/heads/master'
229- runs-on : ${{matrix.os}}
230- strategy :
231- fail-fast : false
232- matrix :
233- os :
234- - ubuntu-latest
235- # - macos-latest
236- - windows-latest
237- python-version : ["3.9", "3.10", "3.11", "3.12"]
238- # if: ${{ needs.release-please.outputs.release_created }}
239- steps :
240- - uses : actions/download-artifact@v4
241- with :
242- name : map2loop-conda-${{ matrix.os }}-${{ matrix.python-version }}
243- path : conda
244- - uses : conda-incubator/setup-miniconda@v3
245- - name : upload all files to conda-forge
246- shell : bash -l {0}
247- env :
248- ANACONDA_API_TOKEN : ${{ secrets.ANACONDA_TOKEN }}
249- with :
250- skip-existing : true
251- verbose : true
252- run : |
253- conda install -c anaconda anaconda-client -y
254- anaconda upload --label main conda/*/*.tar.bz2
255-
256- pypi-upload :
257- if : github.ref == 'refs/heads/master'
258- needs : [pypi-test-wheels]
259- runs-on :
260- - ubuntu-latest
261- # if: ${{ needs.release-please.outputs.release_created }}
262- permissions :
263- # IMPORTANT: this permission is mandatory for trusted publishing
264- id-token : write
265- steps :
266- - uses : actions/download-artifact@v4
267- with :
268- name : map2loop-dist
269- path : dist/
270- - uses : pypa/gh-action-pypi-publish@release/v1
271- with :
272- skip-existing : true
273- verbose : true
224+ # if a release is created then run the deploy scripts for github.io, conda, pypi and docker
0 commit comments