Skip to content

Remove comment

Remove comment #2

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
permissions:
contents: read
jobs:
runs-on: ubuntu-latest

Check failure on line 13 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yaml

Invalid workflow file

You have an error in your yaml syntax on line 13
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
publish:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install hatch
- name: Build package
run: hatch build
- name: Test package
run: hatch run test
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1