Skip to content

Commit

Permalink
Fix pypi publishing
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu committed Jul 9, 2024
1 parent 6b15d25 commit 82917b4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
permissions:
contents: write
packages: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -71,10 +72,10 @@ jobs:
- name: Release PyPI
if: startsWith(github.ref, 'refs/tags/')
run: |
poetry publish --build --username $PYPI_USERNAME --password $PYPI_PASSWORD
env:
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
poetry build --no-cache
- name: Release PyPI
if: startsWith(github.ref, 'refs/tags/')
uses: pypa/gh-action-pypi-publish@release/v1
- name: Build Anaconda
run: |
mkdir /tmp/conda-out
Expand Down

0 comments on commit 82917b4

Please sign in to comment.