Skip to content

Commit

Permalink
PyroFork: Update workflows
Browse files Browse the repository at this point in the history
Signed-off-by: wulan17 <wulan17@nusantararom.org>
  • Loading branch information
wulan17 committed May 20, 2023
1 parent c6a8e55 commit 65d640a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build twine
python -m pip install poetry
python .github/utils/randomize.py
- name: Build package
run: python -m build
- name: Publish package
- name: Build and Publish package
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: |
twine upload dist/*
python -m poetry config pypi-token.pypi "$PYPI_API_TOKEN"
make publish

0 comments on commit 65d640a

Please sign in to comment.