Skip to content

Commit

Permalink
Merge pull request #397 from AaronDJohnson/fix_ci
Browse files Browse the repository at this point in the history
Fix ci
  • Loading branch information
AaronDJohnson authored Sep 13, 2024
2 parents 859ce06 + 490a943 commit 0d0f52c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ jobs:
deploy:
needs: [tests, build]
runs-on: ubuntu-latest
environment: deploy
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
if: github.event_name == 'release'
steps:
- uses: actions/checkout@v3
Expand All @@ -129,9 +133,4 @@ jobs:
name: dist
path: dist
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_REPOSITORY_URL: https://upload.pypi.org/legacy/
run: |
twine upload dist/*
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 3.4.1
current_version = 3.4.2
commit = False
tag = False

Expand Down

0 comments on commit 0d0f52c

Please sign in to comment.