Skip to content

Bump the dependencies group with 3 updates #2

Bump the dependencies group with 3 updates

Bump the dependencies group with 3 updates #2

Workflow file for this run

name: Upload sdist to Release

Check failure on line 1 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

(Line: 3, Col: 4): Unexpected value '', (Line: 7, Col: 1): 'on' is already defined
on:
# push:
# tags:
# - 'v*' # Trigger on version tags like v1.0.0
on:
release:
types: [published] # Triggers when a release is officially published
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: '3.13'
- name: Install build dependencies
run: pip install build
- name: Build sdist and wheel
run: python -m build --sdist --wheel -o dist/
- name: Create Release and Upload sdist
uses: softprops/action-gh-release@v3
with:
files: dist/*.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}