33
33
publish-to-pypi :
34
34
name : >-
35
35
Publish Python 🐍 distribution 📦 to PyPI
36
- # if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
37
36
needs :
38
37
- build
39
38
runs-on : ubuntu-latest
@@ -67,12 +66,12 @@ jobs:
67
66
with :
68
67
name : python-package-distributions
69
68
path : dist/
70
- - name : Sign the dists with Sigstore
71
- uses : sigstore/gh-action-sigstore-python@v3.0.0
72
- with :
73
- inputs : >-
74
- ./dist/*.tar.gz
75
- ./dist/*.whl
69
+ # - name: Sign the dists with Sigstore and upload to release
70
+ # uses: sigstore/gh-action-sigstore-python@v3.0.0
71
+ # with:
72
+ # inputs: >-
73
+ # ./dist/*.tar.gz
74
+ # ./dist/*.whl
76
75
# - name: Create GitHub Release
77
76
# env:
78
77
# GITHUB_TOKEN: ${{ github.token }}
@@ -81,13 +80,13 @@ jobs:
81
80
# "$GITHUB_REF_NAME"
82
81
# --repo "$GITHUB_REPOSITORY"
83
82
# --notes ""
84
- # - name: Upload artifact signatures to GitHub Release
85
- # env:
86
- # GITHUB_TOKEN: ${{ github.token }}
87
- # # Upload to GitHub Release using the `gh` CLI.
88
- # # `dist/` contains the built packages, and the
89
- # # sigstore-produced signatures and certificates.
90
- # run: >-
91
- # gh release upload
92
- # "$GITHUB_REF_NAME" dist/**
93
- # --repo "$GITHUB_REPOSITORY"
83
+ - name : Upload artifact signatures to GitHub Release
84
+ env :
85
+ GITHUB_TOKEN : ${{ github.token }}
86
+ # Upload to GitHub Release using the `gh` CLI.
87
+ # `dist/` contains the built packages, and the
88
+ # sigstore-produced signatures and certificates.
89
+ run : >-
90
+ gh release upload
91
+ "$GITHUB_REF_NAME" dist/**
92
+ --repo "$GITHUB_REPOSITORY"
0 commit comments