diff --git a/.forgejo/workflows/publish.yml b/.forgejo/workflows/publish.yml new file mode 100644 index 0000000..7641a33 --- /dev/null +++ b/.forgejo/workflows/publish.yml @@ -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 }} +