mirror of https://github.com/arendst/Tasmota.git
add all map files to release in a single zip file
so it does not liter the release section with many files
This commit is contained in:
parent
75f634dc71
commit
e932902351
|
@ -253,12 +253,16 @@ jobs:
|
||||||
path: ./mv_firmware
|
path: ./mv_firmware
|
||||||
- name: Display structure of downloaded files
|
- name: Display structure of downloaded files
|
||||||
run: ls -R ./mv_firmware/
|
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
|
- name: Release
|
||||||
uses: jason2866/action-gh-release@v1.2
|
uses: jason2866/action-gh-release@v1.2
|
||||||
#if: startsWith(github.ref, 'refs/tags/')
|
#if: startsWith(github.ref, 'refs/tags/')
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ github.run_number }}
|
tag_name: ${{ github.run_number }}
|
||||||
files: ./mv_firmware/firmware/*
|
files: |
|
||||||
|
./mv_firmware/firmware/*
|
||||||
|
map_all.zip
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue