From bd1bac715b13a6f84ca77ad183e62ab8332f0a36 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Fri, 30 Jan 2026 03:41:37 +0000 Subject: [PATCH] Initial commit: Add OpenAPI Mock Server project --- .github/workflows/release.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..cd5922a --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,34 @@ +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 + run: pip install build + + - name: Build package + run: python -m build + + - name: Create Release + uses: https://gitea.com/actions/release-action@main + with: + files: | + dist/**/*.whl + dist/**/*.tar.gz + title: ${{ github.ref_name }} + body: 'Release ${{ github.ref_name }}' + draft: false + prerelease: false