Skip to content

Commit

Permalink
fix github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
malwarefrank committed Sep 6, 2023
1 parent dc77cb9 commit 025480b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: "3.8"
- name: Install setuptools and wheel
- name: Install pypa/build
run: >-
python -m
pip install
--user
setuptools
wheel
build
- name: Build sdist and wheel
run: >-
python -m
Expand All @@ -30,11 +29,11 @@ jobs:
--outdir dist/
.
- name: Publish distribution to Test PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_TOKEN }}
repository_url: https://test.pypi.org/legacy/
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 025480b

Please sign in to comment.