File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed
Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,14 @@ labels: ["bug"]
44assignees :
55 - tjhorner
66body :
7+ - type : checkboxes
8+ id : troubleshooting-followed
9+ attributes :
10+ label : Troubleshooting Guide
11+ description : Please confirm you have followed the [troubleshooting guide](https://upsy-desky.tjhorner.dev/docs/troubleshooting).
12+ options :
13+ - label : I have followed the steps in the troubleshooting guide and my issue is either not listed or is not solved.
14+ required : true
715 - type : textarea
816 id : description
917 attributes :
Original file line number Diff line number Diff line change 1+ name : Nightly Stock Firmware Build
2+ on :
3+ schedule :
4+ - cron : " 0 0 * * *"
5+
6+ jobs :
7+ build :
8+ name : Build Firmware
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+
13+ - uses : actions/setup-python@v2
14+ with :
15+ python-version : " 3.9"
16+
17+ - name : Install ESPHome
18+ run : pip install --user esphome
19+
20+ - name : Compile Release Firmware
21+ working-directory : firmware
22+ run : |
23+ esphome compile stock.yaml
24+ mkdir -p bin
25+ cp .esphome/build/upsy-desky/.pioenvs/upsy-desky/firmware-factory.bin bin/firmware-factory.bin
26+ cp .esphome/build/upsy-desky/.pioenvs/upsy-desky/firmware.bin bin/firmware.bin
27+
28+ - uses : actions/upload-artifact@v3
29+ with :
30+ name : firmware-bin
31+ path : firmware/bin
32+
33+ - name : Send Discord failure notification
34+ if : failure()
35+ uses : appleboy/discord-action@master
36+ with :
37+ webhook_id : ${{ secrets.DISCORD_WEBHOOK_ID }}
38+ webhook_token : ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
39+ color : " #FF6961"
40+ message : " The latest nightly build failed: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
You can’t perform that action at this time.
0 commit comments