Fix OTA update and enable S3 mini target

This commit is contained in:
Djuri Baars 2024-03-17 00:12:33 +01:00
parent 71486da9c7
commit c5c7791c33
2 changed files with 5 additions and 5 deletions

View file

@ -34,9 +34,8 @@ jobs:
chip: chip:
- name: lolin_s2_mini - name: lolin_s2_mini
version: esp32s2 version: esp32s2
# chips: - name: lolin_s3_mini
# - name: lolin_s3_mini version: esp32s3
# version: esp32s3
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: write contents: write
@ -80,7 +79,8 @@ jobs:
- name: Download matrix outputs - name: Download matrix outputs
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with: with:
name: build-* pattern: build-*
merge-multiple: true
- name: Create release - name: Create release
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@v1
with: with:

View file

@ -53,8 +53,8 @@ void setup()
void loop() void loop()
{ {
if (isUpdating) {
ArduinoOTA.handle(); ArduinoOTA.handle();
if (isUpdating) {
return; return;
} }