ci: added pypi release workflow
This commit is contained in:
parent
e69dd80875
commit
8b849fd2a0
1 changed files with 22 additions and 0 deletions
22
.forgejo/workflows/publish.yml
Normal file
22
.forgejo/workflows/publish.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: node:alpine
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
apk add --no-cache coreutils uv
|
||||
- uses: actions/checkout@v4
|
||||
- name: build
|
||||
run: |
|
||||
uv sync
|
||||
uv build
|
||||
- name: publish
|
||||
run: |
|
||||
uv publish --token ${{ secrets.PYPI_TOKEN }}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue