Skip to content

Commit

Permalink
Merge pull request #24 from jacanchaplais/patch/gha-publish
Browse files Browse the repository at this point in the history
updated the publish job for GHA
  • Loading branch information
jacanchaplais authored Aug 16, 2023
2 parents 1961853 + 94e4da5 commit da1ade0
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,25 @@ on:
jobs:
build-n-publish:
name: Build and publish to PyPI
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with: { fetch-depth: 0 }
- name: Set up Python 3.8.12
uses: actions/setup-python@v2
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.8.12'
python-version: 3.9
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
- name: Build a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
.
# - name: Publish distributiono Test PyPI
Expand Down

0 comments on commit da1ade0

Please sign in to comment.