From cf2c72f812b5e4072fcd9684e2fb1395392653ed Mon Sep 17 00:00:00 2001 From: Forge Recovery Date: Wed, 4 Nov 2026 06:58:33 +0000 Subject: [PATCH] ci: use original shared firmware build and release Co-Authored-By: Codex --- .gitea/workflows/cmake-platformio.yaml | 36 ++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .gitea/workflows/cmake-platformio.yaml diff --git a/.gitea/workflows/cmake-platformio.yaml b/.gitea/workflows/cmake-platformio.yaml new file mode 100644 index 0000000..8a8e287 --- /dev/null +++ b/.gitea/workflows/cmake-platformio.yaml @@ -0,0 +1,36 @@ +name: Original firmware build and release +'on': + push: + branches: + - main + - develop + paths: + - code/RocketLauncher/** + - .gitea/workflows/** + pull_request: + branches: + - main + paths: + - code/RocketLauncher/** + create: {} + release: + types: + - published + - created + workflow_dispatch: + inputs: + version: + description: Semantic version (e.g., 1.0.0) + required: true + type: string +permissions: + contents: write + actions: read +jobs: + firmware: + if: ${{ github.event_name != 'create' || (github.event.ref_type == 'tag' && github.event.ref == github.ref && startsWith(github.ref, + 'refs/tags/v')) }} + uses: self:KofTwentyTwo/platform-ci/.gitea/workflows/cmake-platformio.yaml@kof-release-v1 + with: + runner: linux-small + version: ${{ github.event.inputs.version }} -- 2.54.0