mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-13 15:37:03 +00:00
Upload firmware to target
This commit is contained in:
parent
7503f9a077
commit
39e42d5333
11
.github/workflows/x-test-esp8266.yml
vendored
11
.github/workflows/x-test-esp8266.yml
vendored
@ -4,7 +4,7 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
configure:
|
||||
esp8266:
|
||||
runs-on: esp8266
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@ -38,10 +38,6 @@ jobs:
|
||||
lib_deps = ESP8266WiFi, ESP8266mDNS, ESP8266WebServer, ESP8266HTTPClient, ESP8266httpUpdate, ESP8266SSDP, \${common.lib_deps}
|
||||
lib_ignore = \${common.lib_ignore}
|
||||
extra_scripts = \${common.extra_scripts}" > platformio-user.ini
|
||||
build-frontend:
|
||||
runs-on: esp8266
|
||||
needs: configure
|
||||
steps:
|
||||
- name: Build with node
|
||||
run: |
|
||||
cd lib/SvelteUi/app
|
||||
@ -50,10 +46,7 @@ jobs:
|
||||
cd -
|
||||
env:
|
||||
CI: true
|
||||
upload:
|
||||
runs-on: esp8266
|
||||
needs: build-frontend
|
||||
- name: PlatformIO lib install
|
||||
run: pio lib install
|
||||
- name: PlatformIO run
|
||||
run: pio run -t upload --upload-port /dev/ttyUSB0
|
||||
run: pio run -t upload --upload-port /dev/ttyUSB0
|
||||
Loading…
x
Reference in New Issue
Block a user