Skip to content

Commit

Permalink
Merge pull request #279 from mj-will/update-pypi-workflow
Browse files Browse the repository at this point in the history
Update GHA versions for pypi workflow
  • Loading branch information
mj-will authored Feb 14, 2023
2 parents 31c4981 + 59180bf commit 8da9719
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 @@ -7,13 +7,13 @@ on:
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Set up Python 3.8
uses: actions/setup-python@v1
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.x'
- name: Install pypa/build
run: >-
python -m
Expand All @@ -29,6 +29,6 @@ jobs:
--outdir dist/
.
- 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 8da9719

Please sign in to comment.