Skip to content

Commit

Permalink
Merge pull request #3 from nuhmanpk/nuhmanpk-patch-1
Browse files Browse the repository at this point in the history
Update python-publish.yml
  • Loading branch information
nuhmanpk authored Feb 12, 2023
2 parents 4d6b5c1 + 6090e47 commit f60adaf
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,17 @@ jobs:
with:
python-version: '3.9'

- name: Install dependencies
- name: "Installs dependencies"
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python setup.py sdist bdist_wheel

- name: Publish package
run: python -m twine upload dist/*
python3 -m pip install --upgrade pip
python3 -m pip install setuptools wheel twine
python3 -m pip install requests
python3 -m pip install bs4
- name: "Builds and uploads to PyPI"
run: |
python3 setup.py sdist bdist_wheel
python3 -m twine upload dist/*
env:
TWINE_USERNAME: __token__
Expand Down

0 comments on commit f60adaf

Please sign in to comment.