From ca47bcb7aadbf40aaab58cad99294f990f905249 Mon Sep 17 00:00:00 2001 From: lancersky Date: Fri, 30 Jun 2023 14:32:01 +0800 Subject: [PATCH] improve github workflows --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 55e20a8..6357b77 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,8 +31,8 @@ jobs: cd glinet/gl-dev-board-over-thread west build -b gl_nrf52840_dev_board VERSION=$(cat prj.conf|grep CONFIG_SW_VERSION|awk -F '"' '{print $2}') - cp build/zephyr/app_update.bin ../../../GL-Thread-Dev-Board-MTD-OTA-v$VERSION.bin - cp build/zephyr/merged.hex ../../../GL-Thread-Dev-Board-MTD-JLINK-UPGRADE-v$VERSION.hex + cp build/zephyr/app_update.bin ../../../GL-Dev-Board-Thread-MTD-OTA-v$VERSION.bin + cp build/zephyr/merged.hex ../../../GL-Dev-Board-Thread-MTD-JLINK-UPGRADE-v$VERSION.hex - uses: marvinpinto/action-automatic-releases@latest with: @@ -40,5 +40,5 @@ jobs: draft: true prerelease: false files: | - GL-Thread-Dev-Board*.bin - GL-Thread-Dev-Board*.hex + GL-Dev-Board*.bin + GL-Dev-Board*.hex