From a8ab6b7b18091c302909d5ec16a83d8b8f48a2d0 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sat, 1 May 2021 16:21:46 +0200 Subject: [PATCH] Copy firmware in release section flagged with github build run number --- .github/workflows/Tasmota_build_master.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Tasmota_build_master.yml b/.github/workflows/Tasmota_build_master.yml index bb491497a..3af31d2d2 100644 --- a/.github/workflows/Tasmota_build_master.yml +++ b/.github/workflows/Tasmota_build_master.yml @@ -1395,8 +1395,16 @@ jobs: name: firmware path: ./mv_firmware - name: Display structure of downloaded files - run: ls -R - working-directory: ./mv_firmware + run: ls -R ./mv_firmware/ + - name: Release + uses: softprops/action-gh-release@v1 + #if: startsWith(github.ref, 'refs/tags/') + with: + tag_name: ${{ github.run_number }} + files: ./mv_firmware/firmware/* + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Move firmware files in sub-folders run: | mkdir -p ./firmware/tasmota/languages