Fix Gitea Actions workflow syntax - use actions/checkout@v4 and actions/release-action@v1
Some checks failed
CI / test (push) Failing after 10s

This commit is contained in:
2026-02-01 05:19:28 +00:00
parent bb93ef2a8d
commit 7bd873383f

View File

@@ -5,15 +5,26 @@ on:
tags: tags:
- 'v*' - 'v*'
permissions:
contents: write
jobs: jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Create Release - name: Set up Python
uses: https://gitea.com/actions/release-action/src@main uses: actions/setup-python@v5
with: with:
files: | python-version: '3.11'
dist/** - name: Build package
LICENSE run: |
README.md 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 }}