mirror of
https://github.com/silenty4ng/uv-k5-firmware-chinese-lts
synced 2025-01-15 14:54:40 +00:00
commit
a3928ba487
1 changed files with 2 additions and 2 deletions
4
.github/workflows/docker-image.yml
vendored
4
.github/workflows/docker-image.yml
vendored
|
@ -25,7 +25,7 @@ jobs: #定义工作流程
|
|||
run: git config --global --add safe.directory /__w/uv-k5-firmware-chinese/uv-k5-firmware-chinese
|
||||
|
||||
- name: Make #执行 make 命令
|
||||
run: make #编译项目
|
||||
run: make both #编译项目
|
||||
|
||||
- name: size #计算 firmware 大小
|
||||
run: arm-none-eabi-size firmware #使用 arm-none-eabi-size 命令计算固件大小
|
||||
|
@ -34,7 +34,7 @@ jobs: #定义工作流程
|
|||
uses: actions/upload-artifact@v3 #使用 GitHub Actions 提供的 upload-artifact 动作
|
||||
with:
|
||||
name: firmware #设置 artifact 名称为 firmware
|
||||
path: firmware*.bin #上传文件路径为 firmware*.bin
|
||||
path: LOSEHU*.bin #上传文件路径为 LOSEHU*.bin
|
||||
|
||||
- name: Upload binaries to release #将二进制文件上传到 release
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }} #设置条件,当 ref 以 'refs/tags/v' 开头时执行
|
||||
|
|
Loading…
Reference in a new issue