Skip to content

Commit

Permalink
fix publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
TimStewartJ committed Nov 15, 2022
1 parent 1656ef3 commit 03cace0
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,24 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: |
python -m pip install --upgrade pip
python -m pip install setuptools wheel
python -m pip install .
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
.
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down

0 comments on commit 03cace0

Please sign in to comment.