File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,15 +21,18 @@ jobs:
2121 dist :
2222 name : Create dist
2323 runs-on : ubuntu-slim
24+ outputs :
25+ version : ${{ steps.build-inspect.outputs.package_version }}
2426 steps :
2527 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2628 with :
2729 fetch-depth : 0
2830 persist-credentials : false
2931
30- - uses : hynek/build-and-inspect-python-package@2abe76da66d0a6a4a227101f9348ee855797cfa5 # v3.0.1
32+ - id : build-inspect
33+ uses : hynek/build-and-inspect-python-package@2abe76da66d0a6a4a227101f9348ee855797cfa5 # v3.0.1
3134
32- publish :
35+ publish-pypi :
3336 name : Publish
3437 needs : [dist]
3538 environment : pypi
5255 subject-path : " dist/*"
5356
5457 - uses : pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
58+
59+ conda-forge :
60+ name : Update conda-forge feedstock
61+ needs : [dist, publish-pypi]
62+ environment : cf
63+ runs-on : ubuntu-slim
64+ if : github.event_name == 'release' && github.event.action == 'published'
65+ steps :
66+ - name : Update conda-forge feedstock
67+ uses : beckermr/update-feedstock-version@ed22f75e867861aed79d4e8cd0a41d65af6ccc40 # v4
68+ with :
69+ feedstock : array-api-extra-feedstock
70+ version : ${{ needs.dist.outputs.version }}
71+ github-token : ${{ secrets.XPX_CF_TOKEN }}
72+ automerge : false
You can’t perform that action at this time.
0 commit comments