diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8b18b49..d7134d8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/requirements.txt b/requirements.txt index 71ededd..ac4986b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ cryptography twine +build pyperclip PySide2 PySimpleGUI