Skip to content

Commit

Permalink
Merge pull request #65 from wesky93/develop
Browse files Browse the repository at this point in the history
fix pypi publish
  • Loading branch information
wesky93 authored Jan 20, 2024
2 parents da6cda1 + 7223371 commit 837b858
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ on:

jobs:
deploy:

runs-on: ubuntu-latest
permissions:
id-token: write

steps:
- uses: actions/checkout@v3
Expand All @@ -29,10 +30,8 @@ jobs:
pytest --cov-report=xml --cov=src/grpc_requests
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
- name: Build
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
python setup.py sdist bdist_wheel
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1.8.11

0 comments on commit 837b858

Please sign in to comment.