Skip to content

release.yml: Fixes a typo #3

release.yml: Fixes a typo

release.yml: Fixes a typo #3

Workflow file for this run

---
name: Publish cff-from-621
on:
push:
tags: ["*"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- uses: hynek/build-and-inspect-python-package@v2
pypi:
name: Publish to the cheeseshop
needs: ["build", "qa"]
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/cff-from-621
permissions:
id-token: write
steps:
- name: Download package
uses: actions/download-artifact@v4
with:
name: Packages
path: dist
- name: Upload package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
qa:
uses: ./.github/workflows/qa.yml

Check failure on line 38 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yml" -> "./.github/workflows/qa.yml" (source tag with sha:97e414f9292e5dc479182fac4713419871cb3323) : workflow is not reusable as it is missing a `on.workflow_call` trigger
with:
ref: ${{ github.ref }}
...