Skip to content

Commit

Permalink
Merge pull request #74 from chrishavlin/update_pypi_release
Browse files Browse the repository at this point in the history
update pypi release action
  • Loading branch information
chrishavlin authored Apr 12, 2023
2 parents 3ea58ec + effe423 commit 1b2b478
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ on:
jobs:
build-and-publish:
name: Build and Publish
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.7
uses: actions/setup-python@v1
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.9
- name: Install pypa/build
run: >-
python -m
Expand All @@ -34,6 +34,6 @@ jobs:
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
# repository_url: https://test.pypi.org/legacy/
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 1b2b478

Please sign in to comment.