Skip to content

Commit

Permalink
lts: Add release CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolodi committed Jan 8, 2025
1 parent 29c723f commit c5b18f6
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: release
on:
push:
tags:
- 'v5.[0-9]+.*-LTS'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: python -m pip install build
- run: python -m build
- uses: actions/upload-artifact@v4
with:
path: dist/*
upload:
needs: build
runs-on: ubuntu-latest
environment: upload
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
with:
merge-multiple: true
path: dist
- uses: pypa/gh-action-pypi-publish@release/v1
with:
attestations: false

0 comments on commit c5b18f6

Please sign in to comment.