Merge pull request #11982 from Jason2866/patch-2

Copy firmware in github release section
This commit is contained in:
Theo Arends 2021-05-01 16:49:35 +02:00 committed by GitHub
commit ed4f981d9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 2 deletions

View File

@ -1395,8 +1395,16 @@ jobs:
name: firmware name: firmware
path: ./mv_firmware path: ./mv_firmware
- name: Display structure of downloaded files - name: Display structure of downloaded files
run: ls -R run: ls -R ./mv_firmware/
working-directory: ./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 - name: Move firmware files in sub-folders
run: | run: |
mkdir -p ./firmware/tasmota/languages mkdir -p ./firmware/tasmota/languages