Skip to content

release-check

release-check #13

Workflow file for this run

name: release-check
on:
release:
types: [created, edited]
jobs:
pypi:

Check failure on line 10 in .github/workflows/release-check.yml

View workflow run for this annotation

GitHub Actions / release-check

Invalid workflow file

The workflow is not valid. .github/workflows/release-check.yml (Line: 10, Col: 3): The workflow must contain at least one job with no dependencies.
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