Skip to content

remove token. enable trusted publishing only #5

remove token. enable trusted publishing only

remove token. enable trusted publishing only #5

Workflow file for this run

name: Publish Python Package
on:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
+ # IMPORTANT: this permission is mandatory for trusted publishing

Check failure on line 12 in .github/workflows/python-publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/python-publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
+ id-token: write
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install Poetry 📜
uses: snok/install-poetry@v1
- name: Build package
run: poetry build
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1