Files
json-to-openapi/.gitea/workflows/release.yml
7000pctAUTO bd1cbdd602
Some checks failed
CI / test (push) Failing after 10s
CI / lint (push) Failing after 5s
Release / release (push) Failing after 18s
Add Gitea Actions workflow: release.yml
2026-02-01 05:15:58 +00:00

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