From e932902351edb148f767dc6f47c527850215a4f8 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Thu, 25 May 2023 16:05:53 +0200 Subject: [PATCH] add all map files to release in a single zip file so it does not liter the release section with many files --- .github/workflows/Tasmota_build_master.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Tasmota_build_master.yml b/.github/workflows/Tasmota_build_master.yml index 545d32028..267fd6acc 100644 --- a/.github/workflows/Tasmota_build_master.yml +++ b/.github/workflows/Tasmota_build_master.yml @@ -253,12 +253,16 @@ jobs: path: ./mv_firmware - name: Display structure of downloaded files run: ls -R ./mv_firmware/ + - name: Zip all map.gz files in one file -> map_all.zip + run: 7z a -mx=9 -tzip -xr'!.*' map_all.zip mv_firmware/map - name: Release uses: jason2866/action-gh-release@v1.2 #if: startsWith(github.ref, 'refs/tags/') with: tag_name: ${{ github.run_number }} - files: ./mv_firmware/firmware/* + files: | + ./mv_firmware/firmware/* + map_all.zip env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}