There was an error while loading. Please reload this page.
2 parents 64d8873 + 836586d commit ddbcf12Copy full SHA for ddbcf12
1 file changed
.github/workflows/ci.yml
@@ -21,7 +21,7 @@ jobs:
21
matrix:
22
cppVersion: [17]
23
environment: pypi
24
- permissions: {id-token: write}
+ permissions: {contents: write, id-token: write}
25
name: Validate Python and C++${{ matrix.cppVersion }} and deploy to PyPI
26
runs-on: ubuntu-latest
27
steps:
@@ -83,6 +83,8 @@ jobs:
83
run: |
84
tag="${GITHUB_REF#refs/tags/}"
85
gh release create --draft --title "$tag" --generate-notes "$tag" dist/${{ steps.dist.outputs.whl }} ${{ steps.prep.outputs.tgz }}
86
+ env:
87
+ GH_TOKEN: ${{ github.token }}
88
- uses: actions/upload-artifact@v7
89
with:
90
name: python-petsird
0 commit comments