Skip to content

Commit

Permalink
Set up release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
xingrz committed Dec 18, 2022
1 parent 2a4099e commit 91c7244
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,24 @@ on: [push, pull_request, workflow_dispatch]
jobs:
build:
uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@main

release:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
needs: build

runs-on: ubuntu-latest

steps:
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: firmware
path: firmware

- name: Publish release
uses: svenstaro/upload-release-action@v2
with:
file: firmware/*.bin
file_glob: true
tag: ${{ github.ref }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ zmk-config for Xikii HW-75 (瀚文 75)
## 烧录 (针对一般用户)

1. 请确保已经在 HW-75 中烧入了 DFU bootloader。详见[这篇文章](https://github.com/peng-zhihui/HelloWord-Keyboard/discussions/77)
2. 按住键盘的 Fn 键插入 USB,打开 [WebDFU](https://devanlai.github.io/webdfu/dfu-util/) 选择固件进行烧录。
2.[Releases](https://github.com/xingrz/zmk-config_xikii_hw-75/releases) 下载最新的固件;
3. 按住键盘的 Fn 键插入 USB,打开 [WebDFU](https://devanlai.github.io/webdfu/dfu-util/) 选择固件进行烧录。

## 快速定制

Expand Down

0 comments on commit 91c7244

Please sign in to comment.