Skip to content

Commit

Permalink
Fix publish to testPypi
Browse files Browse the repository at this point in the history
  • Loading branch information
smatzkel-newrelic committed Mar 5, 2023
1 parent 653159d commit 72ba93c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
name: Publish to Test PyPI

on:
push:
branches:
- main
release:
types:
- published

permissions:
contents: read
Expand All @@ -23,8 +23,8 @@ jobs:
version: 1.4.0
- name: Build and publish to test pypi
run: |
poetry version ${{ github.event.release.tag_name }}
poetry version ${{ github.event.release.tag_name }}.dev
poetry build
poetry config repositories.test-pypi "https://test.pypi.org/legacy/"
poetry config pypi-token.test-pypi ${{ secrets.TEST_PYPI_TOKEN }}
poetry publish --repository test-pypi
poetry publish --repository test-pypi

0 comments on commit 72ba93c

Please sign in to comment.