0.8.6 #10
Workflow file for this run
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: release-check | ||
on: | ||
release: | ||
types: [created, edited] | ||
jobs: | ||
pypi: | ||
Check failure on line 10 in .github/workflows/release-check.yml GitHub Actions / release-checkInvalid workflow file
|
||
needs: check-version | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.8 | ||
- name: Install dependencies | ||
run: pip install --user -U pip poetry | ||
- name: Build and publish | ||
env: | ||
_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }} | ||
run: | | ||
poetry install | ||
poetry build | ||
poetry config repositories.testpypi https://test.pypi.org/legacy/ | ||
poetry config pypi-token.testpypi $_PASSWORD | ||
poetry publish --repository testpypi |