Skip to content

remove v from __version__ #1

remove v from __version__

remove v from __version__ #1

Workflow file for this run

name: Publish on PyPi
on:
workflow_dispatch:
push:
tags:
- 'v[0-9]+*'
jobs:
publish:

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

View workflow run for this annotation

GitHub Actions / Publish on PyPi

Invalid workflow file

The workflow is not valid. .github/workflows/publish-pypi.yml (Line: 10, Col: 3): The workflow must contain at least one job with no dependencies.
needs: run_tests
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/pyradox-parser
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '>=3.10'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build
run: |
python -m build --sdist --wheel --outdir dist/ .
- name: Publish
uses: pypa/gh-action-pypi-publish@v1.5.0