From 79c0d2bb999fccb508191b540baa0e20f2339781 Mon Sep 17 00:00:00 2001 From: Gaspard Kirira Date: Wed, 28 Jan 2026 21:14:24 +0300 Subject: [PATCH] v1.23.0: disable automatic release CI (manual only) --- .github/workflows/release.yml | 19 ++++++++++++++++--- README.md | 3 ++- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3aee651..aed724d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,9 +1,12 @@ name: release on: - push: - tags: - - "v*.*.*" + workflow_dispatch: + inputs: + tag: + description: "Optional tag to build/release (e.g. v1.23.0). If empty, uses the current ref." + required: false + default: "" permissions: contents: write @@ -42,6 +45,16 @@ jobs: uses: actions/checkout@v4 with: submodules: recursive + fetch-depth: 0 + + # If user provided a tag via workflow_dispatch, checkout that tag explicitly + - name: Checkout tag (manual input) + if: ${{ github.event.inputs.tag != '' }} + shell: bash + run: | + set -euxo pipefail + git fetch --tags --force + git checkout "tags/${{ github.event.inputs.tag }}" - name: Setup CMake uses: lukka/get-cmake@latest diff --git a/README.md b/README.md index 0aa7165..775a0b5 100644 --- a/README.md +++ b/README.md @@ -102,9 +102,10 @@ Vix.cpp is designed to remove overhead, unpredictability, and GC pauses. ```cpp #include +using namespace vix; int main() { - vix::App app; + App app; app.get("/", [](Request&, Response& res){ res.send("Hello from Vix.cpp 🚀");