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:
- '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 }}