Skip to content

Commit

Permalink
CI: Fix permission to release (#5716)
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoraisAnsys authored Feb 1, 2025
1 parent 0ef2ce9 commit 3c863dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,11 @@ jobs:
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
needs: [package, doc-build]
runs-on: ubuntu-latest
# Specifying a GitHub environment is optional, but strongly encouraged
environment: release
permissions:
id-token: write
contents: write
steps:
- name: Release to the public PyPI repository
uses: ansys/actions/release-pypi-public@v8
Expand Down

0 comments on commit 3c863dc

Please sign in to comment.