Skip to content

Commit

Permalink
maint: update pypi publish action version
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-murray committed Sep 18, 2023
1 parent b7c350d commit 9186d0f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Publish Python distributions to PyPI

# The idea here is that you would make a Release via the web interface on github,
# and this automatically then publishes to pypi

on:
push:
tags:
Expand All @@ -9,9 +12,6 @@ jobs:
build-n-publish:
name: Build and publish to PyPI
runs-on: ubuntu-latest
env:
ENV_NAME: publish
PYTHON: 3.8
steps:
- uses: actions/checkout@main
with:
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ env.PYTHON }}
python-version: "3.11"

- name: Install build
run: pip install build
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Publish to PyPI
if: startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@v1.8.8
with:
user: __token__
password: ${{ secrets.pypi_password }}

0 comments on commit 9186d0f

Please sign in to comment.