Skip to content

Commit 555dfba

Browse files
committed
ci(release): create GitHub release without publish
1 parent fcea335 commit 555dfba

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

.github/workflows/publish.yml

+2-24
Original file line numberDiff line numberDiff line change
@@ -23,33 +23,11 @@ jobs:
2323
name: python-package-distributions
2424
path: dist/
2525

26-
publish-to-pypi:
27-
name: Publish Python distribution to PyPI
28-
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
29-
needs:
30-
- build
31-
runs-on: ubuntu-latest
32-
33-
environment:
34-
name: pypi
35-
url: https://pypi.org/p/ibis-ml
36-
37-
permissions:
38-
id-token: write # IMPORTANT: mandatory for trusted publishing
39-
40-
steps:
41-
- name: Download all the dists
42-
uses: actions/download-artifact@v3
43-
with:
44-
name: python-package-distributions
45-
path: dist/
46-
- name: Publish distribution to PyPI
47-
uses: pypa/gh-action-pypi-publish@release/v1
48-
4926
github-release:
5027
name: Sign the Python distribution with Sigstore and upload them to GitHub Release
28+
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
5129
needs:
52-
- publish-to-pypi
30+
- build
5331
runs-on: ubuntu-latest
5432

5533
permissions:

0 commit comments

Comments
 (0)