Skip to content

Commit

Permalink
add pypi release gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
mc51 committed Jan 2, 2021
1 parent a9f407d commit 6d4fbbb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,17 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: PyPi - Build binary wheel and source tarball
run: |
python -m build --sdist --wheel --outdir dist/
- name: PyPi - Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
- name: PyPi - remove build/ and dist/
run: |
rm -rf build/ dist/
- name: Build with pyinstaller for ${{matrix.TARGET}}
run: ${{matrix.CMD_BUILD}}
- name: Load Release URL File from release job
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
cryptography
twine
build
pyperclip
PySide2
PySimpleGUI
Expand Down

0 comments on commit 6d4fbbb

Please sign in to comment.