Skip to content

GA: adding actions

GA: adding actions #1

Workflow file for this run

name: Publish to PyPI
on: [push]
jobs:
pypi-publish:

Check failure on line 5 in .github/workflows/publish.yaml

View workflow run for this annotation

GitHub Actions / Publish to PyPI

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yaml (Line: 5, Col: 3): The workflow must contain at least one job with no dependencies.
name: Upload release to PyPI
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
needs: [build_wheels, make_sdist]
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/qseek
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- name: Download all the wheels and sdists
uses: actions/download-artifact@v3
with:
pattern: cibw-*
path: dist/
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1