Files
json-to-openapi/.gitea/workflows/release.yml
7000pctAUTO b4912fa195
Some checks failed
CI / test (push) Failing after 10s
CI / lint (push) Failing after 5s
Fix release action syntax in workflow
2026-02-01 05:17:37 +00:00

32 lines
656 B
YAML

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/src@main
with:
files: |
dist/**
title: ${{ github.ref_name }}
body: Release ${{ github.ref_name }}