Skip to content

Commit

Permalink
ci: publishing to PyPI with a Trusted Publisher ,see https://docs.pyp…
Browse files Browse the repository at this point in the history
  • Loading branch information
overcat authored Aug 27, 2023
1 parent 38ec9d7 commit be057e7
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,16 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: Install poetry
run: pipx install poetry

- name: Build Packages
run: poetry build

- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.test_pypi_api_token }}
repository_url: https://test.pypi.org/legacy/
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit be057e7

Please sign in to comment.