Skip to content

Commit

Permalink
Merge pull request #84 from arokem/upgrade_release_machinery
Browse files Browse the repository at this point in the history
Upgrade the elements of the GHA for upload to pypi.
  • Loading branch information
arokem authored Feb 9, 2024
2 parents 7d7b743 + 02ea153 commit 0b7085f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on: push
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
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@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.7
python-version: "3.10"
- name: Install pep517
run: >-
python -m
Expand All @@ -26,7 +26,7 @@ jobs:
--out-dir dist/
.
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.TEST_PYPI_PASSWORD }}
Expand Down

0 comments on commit 0b7085f

Please sign in to comment.