diff --git a/.github/workflows/build_wailord.yml b/.github/workflows/build_wailord.yml index 95ea53d..71306ce 100644 --- a/.github/workflows/build_wailord.yml +++ b/.github/workflows/build_wailord.yml @@ -19,16 +19,13 @@ jobs: with: poetry-version: ${{ matrix.poetry-version }} - name: Prep dependencies - run: poetry install + run: poetry add twine && poetry install - name: Test project run: poetry run pytest - name: Build project run: poetry build - name: Publish distribution 📦 to Test PyPI - uses: pypa/gh-action-pypi-publish@master - with: - password: ${{ secrets.TEST_PYPI_API_TOKEN }} - repository_url: https://test.pypi.org/legacy/ + run: poetry run twine upload --non-interactive -u rgoswami -p ${{ secrets.TEST_PYPI_API_TOKEN }} -r testpypi dist/* - name: Publish distribution 📦 to PyPI if: startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@master