Skip to content

Commit

Permalink
trying to fix pypi push
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollman committed Mar 6, 2024
1 parent a36daf4 commit e4951b4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,19 +68,19 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
needs: test
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/emannotationschemas
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Build and publish to PyPI
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
packages_dir: dist
verify_metadata: true
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
env:
# Ensure dependencies are installed and your package is built
PRE_BUILD_COMMANDS: >-
Expand Down

0 comments on commit e4951b4

Please sign in to comment.