File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 66 tag :
77 description : ' Git tag / release to promote (e.g. pyalp.v0.8.14)'
88 required : true
9+ push :
10+ tags :
11+ - ' pyalp.v*'
912
1013# Request OIDC id-token permissions at workflow level so actions can use
1114# the GitHub Actions OIDC provider. The pypa publish action requires this
@@ -17,6 +20,10 @@ permissions:
1720jobs :
1821 promote :
1922 runs-on : ubuntu-latest
23+ # Require approval from the `production` environment before the job can
24+ # access environment-scoped secrets (e.g. the PyPI API token). Create the
25+ # environment in the repository settings and add the secret `PYPI_API_TOKEN`.
26+ environment : production
2027 # Also explicitly request id-token at the job level to be extra clear.
2128 permissions :
2229 id-token : write
2835 - name : Download release assets
2936 uses : softprops/action-download-release@v1
3037 with :
31- tag : ${{ github.event.inputs.tag }}
38+ # Accept tag from workflow_dispatch input OR from the push event's ref name
39+ tag : ${{ github.event.inputs.tag || github.ref_name }}
3240 # downloads into ./release_assets by default
3341
3442 - name : List downloaded assets
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " pyalp"
7- version = " 0.8.21 "
7+ version = " 0.8.22 "
88description = " Python bindings for ALP GraphBLAS (minimal package layout)"
99authors = [ { name = " ALP" } ]
1010readme = " README.md"
You can’t perform that action at this time.
0 commit comments