From 596b4d4420244484f45639f89fa259effddae291 Mon Sep 17 00:00:00 2001 From: alpha nerd Date: Sun, 12 Apr 2026 15:55:39 +0200 Subject: [PATCH] fix: remove node dep in actions --- .forgejo/workflows/publish.yml | 31 ++++--------------------------- 1 file changed, 4 insertions(+), 27 deletions(-) diff --git a/.forgejo/workflows/publish.yml b/.forgejo/workflows/publish.yml index 994b7fc..6e2eeb5 100644 --- a/.forgejo/workflows/publish.yml +++ b/.forgejo/workflows/publish.yml @@ -7,8 +7,8 @@ on: workflow_dispatch: jobs: - build: - name: Build (${{ matrix.runner }}, py${{ matrix.python }}) + build-and-publish: + name: Build & Publish (${{ matrix.runner }}, py${{ matrix.python }}) runs-on: ${{ matrix.runner }} container: image: python:${{ matrix.python }}-bookworm @@ -26,36 +26,13 @@ jobs: . - name: Install build tools - run: pip install build Cython + run: pip install build Cython twine - name: Build wheel run: python -m build --wheel - - name: Upload wheel artifact - uses: actions/upload-artifact@v3 - with: - name: wheel-${{ matrix.runner }}-py${{ matrix.python }} - path: dist/*.whl - - publish: - name: Publish to PyPI - needs: build - runs-on: docker-amd64 - container: - image: python:3.12-bookworm - - steps: - - name: Download all wheels - uses: actions/download-artifact@v3 - with: - path: dist/ - merge-multiple: true - - - name: Install twine - run: pip install twine - - name: Publish to PyPI env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} - run: twine upload dist/**/*.whl + run: twine upload dist/*.whl