chore(dev): adjusting make install
(#684)
#3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to Test PyPI | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build-n-publish-test-pypi: | |
name: Test PyPI - Build and publish Python 🐍 distributions 📦 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ScanAPI repository | |
uses: actions/checkout@v3 | |
- name: Poetry Setup | |
uses: snok/install-poetry@v1 | |
with: | |
version: 1.3.2 | |
- name: Run poetry pre-release | |
run: | | |
make change-version | |
- name: Build and publish to test pypi | |
run: | | |
poetry build | |
poetry config pypi-token.testpypi ${{ secrets.TEST_PYPI_TOKEN }} | |
poetry config repositories.testpypi "https://test.pypi.org/legacy/" | |
poetry publish --repository testpypi |