From 055d1158d245d7a3c770825504c9eb44e5104bea Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sun, 10 May 2026 22:04:41 +0000
Subject: [PATCH] Workflows: upgrade actions

---
 .github/workflows/publish.yml |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 53f3352..c4ebaa7 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -10,24 +10,27 @@
     runs-on: ubuntu-latest
     steps:
       - name: Checkout code
-        uses: actions/checkout@v2
+        uses: actions/checkout@v6
         with:
           fetch-depth: 0
 
       - name: Set up Python
-        uses: actions/setup-python@v1
+        uses: actions/setup-python@v6
         with:
           python-version: 3.x
 
       - name: Install dependencies
         run: |
-          pip install setuptools wheel twine
+          python -m venv venv
+          ./venv/bin/pip install build twine
 
       - name: Build package
-        run: python setup.py sdist bdist_wheel
+        run: |
+          ./venv/bin/python -m build
 
       - name: Publish package
         env:
           TWINE_USERNAME: '__token__'
           TWINE_PASSWORD: '${{ secrets.PYPI_TOKEN }}'
-        run: twine upload dist/* 
+        run:
+          ./venv/bin/python -m twine upload dist/*

--
Gitblit v1.10.0