Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,10 @@ Vix.cpp is designed to remove overhead, unpredictability, and GC pauses.

```cpp
#include <vix.hpp>
using namespace vix;

int main() {
vix::App app;
App app;

app.get("/", [](Request&, Response& res){
res.send("Hello from Vix.cpp 🚀");
Expand Down
Loading