From 7bd873383f2a5ddfb3f26cf2ee05cd0c0ad9b168 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 05:19:28 +0000 Subject: [PATCH] Fix Gitea Actions workflow syntax - use actions/checkout@v4 and actions/release-action@v1 --- .gitea/workflows/release.yml | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 2fa5f76..fe86198 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -5,15 +5,26 @@ on: tags: - 'v*' +permissions: + contents: write + jobs: release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Create Release - uses: https://gitea.com/actions/release-action/src@main + - name: Set up Python + uses: actions/setup-python@v5 with: - files: | - dist/** - LICENSE - README.md + python-version: '3.11' + - name: Build package + run: | + pip install build + python -m build + - name: Create Release + uses: actions/release-action@v1 + with: + files: dist/* + draft: false + prerelease: false + token: ${{ secrets.GITEA_TOKEN }}