From bd1cbdd6022505331bc461947d7daa6a9d93780c Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 05:15:58 +0000 Subject: [PATCH] Add Gitea Actions workflow: release.yml --- .gitea/workflows/release.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .gitea/workflows/release.yml diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml new file mode 100644 index 0000000..c42be9c --- /dev/null +++ b/.gitea/workflows/release.yml @@ -0,0 +1,31 @@ +name: Release + +on: + push: + tags: + - 'v*' + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.11' + + - name: Install build tools + run: pip install build wheel twine + + - name: Build package + run: python -m build + + - name: Create Release + uses: https://gitea.com/actions/release-action@main + with: + files: | + dist/** + title: ${{ github.ref_name }} + body: Release ${{ github.ref_name }}