File tree Expand file tree Collapse file tree 1 file changed +3
-27
lines changed
Expand file tree Collapse file tree 1 file changed +3
-27
lines changed Original file line number Diff line number Diff line change 2121
2222 upload-to-release :
2323 name : Upload to Release
24+ uses : esphome/workflows/.github/workflows/upload-to-gh-release.yml@main
2425 needs :
2526 - build-firmware
26- runs-on : ubuntu-latest
27- steps :
28- - name : Download Artifact
29- 30- with :
31- path : files
32- - name : Copy files to output
33- run : |-
34- mkdir output
35- version="${{ needs.build-firmware.outputs.version }}"
36- pushd files
37- for device in *; do
38- pushd $device
39- pushd $version
40- cp manifest.json ../../../output/$device.manifest.json
41- for bin in *.bin; do
42- md5sum $bin | head -c 32 > ../../../output/$bin.md5
43- cp $bin ../../../output/
44- done
45- popd
46- popd
47- done
48- popd
49- - name : Upload files to release
50- 51- with :
52- files : output/*
27+ with :
28+ version : ${{ github.event.release.tag_name }}"
You can’t perform that action at this time.
0 commit comments