Skip to content

PyPI Publish

PyPI Publish #3

Workflow file for this run

name: PyPI Publish
on:
push:
tags:
- v*
workflow_dispatch:
inputs:
reason:
description: 'Reason'
required: false
default: 'Manual trigger'
jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/invenio-subjects-nasa
permissions:
id-token: write
steps:
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:

Check failure on line 26 in .github/workflows/pypi-publish.yml

View workflow run for this annotation

GitHub Actions / PyPI Publish

Invalid workflow file

The workflow is not valid. .github/workflows/pypi-publish.yml (Line: 26, Col: 5): Unexpected value 'with'
password: ${{ secrets.NASA_SUBJECTS_PYPI_API_TOKEN }}