From e2bbbea4c064b097d94b1e5f873b74679c28c006 Mon Sep 17 00:00:00 2001 From: nguyenhaiac Date: Tue, 9 Dec 2025 20:54:34 +0700 Subject: [PATCH 1/4] Update GitHub Actions workflow for ZMK firmware build --- .github/workflows/build.yml | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d74fb89..6df03d7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,37 @@ -on: [push, pull_request, workflow_dispatch] +name: Build ZMK Firmware + +on: + push: + branches: + - master + - sofle_hybrid_rgb_rev5 + workflow_dispatch: + +permissions: + contents: write jobs: build: uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@main + + create_release_master: + if: github.event_name == 'push' && github.ref == 'refs/heads/master' + needs: build + runs-on: ubuntu-latest + steps: + - name: Download firmware artifacts + uses: actions/download-artifact@v4 + with: + name: firmware + + - name: Get current date + id: date + run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT + + - name: Create Release with firmware + uses: softprops/action-gh-release@v1 + with: + tag_name: ${{ steps.date.outputs.date }}-${{ github.sha }} + name: Firmware ${{ steps.date.outputs.date }} - master + body: Build from commit ${{ github.sha }} + files: '*.uf2' From d0413f6024db50cc8bd5cf9ce86e8d9c720aa561 Mon Sep 17 00:00:00 2001 From: nguyenhaiac Date: Tue, 9 Dec 2025 20:55:03 +0700 Subject: [PATCH 2/4] Add badges for build status and firmware download Added build status and download firmware badges to README. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 69aaef9..7ac46c6 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +[![Build Status](../../actions/workflows/build.yml/badge.svg)](../../actions) +[![Download Firmware](https://img.shields.io/badge/Download-Firmware-blue?logo=github)](../../releases/latest) + # Sofle V2 Keyboard Guide This guide is for flashing the Ergomech Sofle V2 Keyboard. The Sofle V2 is 6×4+5 keys column-staggered split keyboard, using Cherry switches. From ffc5d8211ae618aed978c1acb39885f505fd2ea7 Mon Sep 17 00:00:00 2001 From: nguyenhaiac Date: Tue, 30 Dec 2025 00:03:07 +0700 Subject: [PATCH 3/4] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6df03d7..255bcab 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ permissions: jobs: build: - uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@main + uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@v0.3 create_release_master: if: github.event_name == 'push' && github.ref == 'refs/heads/master' From b424932b7da9199d520b42b2cc17ef2c71450286 Mon Sep 17 00:00:00 2001 From: nguyenhaiac Date: Tue, 30 Dec 2025 00:03:38 +0700 Subject: [PATCH 4/4] Update zmk project revision to v0.3 --- config/west.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/west.yml b/config/west.yml index 379d291..6007493 100644 --- a/config/west.yml +++ b/config/west.yml @@ -5,7 +5,7 @@ manifest: projects: - name: zmk remote: zmkfirmware - revision: main + revision: v0.3 import: app/west.yml self: path: config