Skip to content

spotter/publish

spotter/publish #7

Workflow file for this run

name: spotter/publish
on:
release:
types: [published]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
publish:

Check failure on line 11 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / spotter/publish

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 11, Col: 3): The workflow must contain at least one job with no dependencies.
environment:
name: pypi
url: https://pypi.org/p/starspotter
permissions:
id-token: write
needs: [tests, build]
runs-on: ubuntu-latest
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
- uses: pypa/[email protected]