From 851f9ae610391282eb034474c1d888e478ccbbd0 Mon Sep 17 00:00:00 2001 From: o-murphy Date: Thu, 15 Aug 2024 22:27:44 +0300 Subject: [PATCH] trying new deploy script --- .github/workflows/python-publish-test.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/python-publish-test.yml b/.github/workflows/python-publish-test.yml index e1bdef3..fea9144 100644 --- a/.github/workflows/python-publish-test.yml +++ b/.github/workflows/python-publish-test.yml @@ -62,12 +62,12 @@ jobs: - name: Build pure python package run: python -m build - - name: Build binary python package - run: | - cd py_ballisticcalc_exts - python -m build --outdir ../dist - cd .. - ls dist +# - name: Build binary python package +# run: | +# cd py_ballisticcalc_exts +# python -m build --outdir ../dist +# cd .. +# ls dist - name: Publish package to Test PyPI run: | @@ -77,7 +77,7 @@ jobs: TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }} deploy-exts: - needs: build + needs: test-build-deploy runs-on: ${{ matrix.os }} strategy: @@ -104,10 +104,11 @@ jobs: cd py_ballisticcalc_exts python -m build --outdir ../dist cd .. + ls - - name: Publish package to PyPI + - name: Publish package to Test PyPI run: | - python -m twine upload dist/* --skip-existing --verbose --non-interactive + python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/* --skip-existing --verbose --non-interactive env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }} \ No newline at end of file