Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maint: update pypi publish action version #274

Merged
merged 4 commits into from
Oct 2, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
r-pascua marked this conversation as resolved.
Show resolved Hide resolved

- 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
r-pascua marked this conversation as resolved.
Show resolved Hide resolved
with:
user: __token__
password: ${{ secrets.pypi_password }}