From 20ff6a13371265cee7f40ec495fe727e8b0b7812 Mon Sep 17 00:00:00 2001 From: Silent YANG Date: Sat, 13 Jan 2024 23:33:21 -0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E8=87=AA=E5=8A=A8=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E5=9B=BA=E4=BB=B6=E5=88=B0=20Actions=20=E9=99=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 586cf9b..cde5ed7 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -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' 开头时执行