Skip to content

Commit

Permalink
Update GHA config.
Browse files Browse the repository at this point in the history
  • Loading branch information
adiroiban committed Jun 5, 2023
1 parent 29bf0db commit d7faadb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ jobs:
# https://github.community/t/is-it-possible-to-require-all-github-actions-tasks-to-pass-without-enumerating-them/117957/4?u=graingert
name: Check tag and publish
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write

needs:
- build
Expand All @@ -211,7 +214,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.11

- name: Install dependencies
run: |
Expand All @@ -227,10 +230,8 @@ jobs:

- name: Publish to PyPI - on tag
if: startsWith(github.ref, 'refs/tags/')
uses: pypa/gh-action-pypi-publish@37f50c210e3d2f9450da2cd423303d6a14a6e29f
with:
password: ${{ secrets.PYPI_TOKEN }}
verbose: true
uses: pypa/gh-action-pypi-publish@a56da0b891b3dc519c7ee3284aff1fad93cc8598


coverage:
name: Combine & check coverage.
Expand Down

0 comments on commit d7faadb

Please sign in to comment.