Skip to content

update

update #2

Workflow file for this run

name: Upload release to PyPI
on: [push]
jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/sphinxnotes-snippet
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- id: Build distributions

Check failure on line 15 in .github/workflows/pypi.yml

View workflow run for this annotation

GitHub Actions / Upload release to PyPI

Invalid workflow file

The workflow is not valid. .github/workflows/pypi.yml (Line: 15, Col: 11): The identifier 'Build distributions' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
run: make dist
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
password: ${{ secrets.PYPI_TEST_API_TOKEN }}