Skip to content

Commit ddbcf12

Browse files
authored
Merge pull request #206 from ETSInitiative/fix-ci-release
2 parents 64d8873 + 836586d commit ddbcf12

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
matrix:
2222
cppVersion: [17]
2323
environment: pypi
24-
permissions: {id-token: write}
24+
permissions: {contents: write, id-token: write}
2525
name: Validate Python and C++${{ matrix.cppVersion }} and deploy to PyPI
2626
runs-on: ubuntu-latest
2727
steps:
@@ -83,6 +83,8 @@ jobs:
8383
run: |
8484
tag="${GITHUB_REF#refs/tags/}"
8585
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 }}
8688
- uses: actions/upload-artifact@v7
8789
with:
8890
name: python-petsird

0 commit comments

Comments
 (0)