Skip to content

Remove runs-on key from release workflow #9

Remove runs-on key from release workflow

Remove runs-on key from release workflow #9

Workflow file for this run

name: Release

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

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

(Line: 10, Col: 5): Required property is missing: runs-on
on:
workflow_dispatch:
push:
tags:
- 'v*'
jobs:
release:
name: Deploy release to PyPI
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: \"3.11.14\"
- name: Install dependencies
run: pip install wheel build
- name: Build package
run: python -m build
- name: Upload package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}