From 08cf425e150114c7eb16cfedc9c9cf95477420b4 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 5 Oct 2020 12:01:58 +0200 Subject: [PATCH 1/2] Build Tasmota artifact on PR --- .github/workflows/CI_github.yml | 138 +++++++++++++++++++++++++++++--- 1 file changed, 128 insertions(+), 10 deletions(-) diff --git a/.github/workflows/CI_github.yml b/.github/workflows/CI_github.yml index 1f4f79f38..d93a59331 100644 --- a/.github/workflows/CI_github.yml +++ b/.github/workflows/CI_github.yml @@ -18,6 +18,10 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota-minimal: runs-on: ubuntu-latest @@ -33,6 +37,10 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-minimal + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota-lite: runs-on: ubuntu-latest @@ -48,6 +56,10 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-lite + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota-knx: runs-on: ubuntu-latest @@ -63,7 +75,11 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-knx - + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota-sensors: runs-on: ubuntu-latest steps: @@ -78,7 +94,10 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-sensors - + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota-display: runs-on: ubuntu-latest @@ -94,6 +113,10 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-display + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota-ir: runs-on: ubuntu-latest @@ -109,6 +132,10 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-ir + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota-zbbridge: runs-on: ubuntu-latest @@ -124,6 +151,10 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-zbbridge + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota-BG: runs-on: ubuntu-latest @@ -139,7 +170,11 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-BG - + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota-BR: runs-on: ubuntu-latest steps: @@ -154,6 +189,10 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-BR + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota-CN: runs-on: ubuntu-latest @@ -169,6 +208,10 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-CN + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota-CZ: runs-on: ubuntu-latest @@ -184,6 +227,10 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-CZ + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota-DE: runs-on: ubuntu-latest @@ -199,7 +246,11 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-DE - + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota-ES: runs-on: ubuntu-latest steps: @@ -214,8 +265,11 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-ES - - + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota-FR: runs-on: ubuntu-latest steps: @@ -230,6 +284,10 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-FR + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota-GR: runs-on: ubuntu-latest @@ -245,6 +303,10 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-GR + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota-HE: runs-on: ubuntu-latest @@ -260,7 +322,11 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-HE - + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota-HU: runs-on: ubuntu-latest steps: @@ -275,6 +341,10 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-HU + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota-IT: runs-on: ubuntu-latest @@ -290,6 +360,10 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-IT + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota-KO: runs-on: ubuntu-latest @@ -305,6 +379,10 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-KO + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota-NL: runs-on: ubuntu-latest @@ -320,7 +398,11 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-NL - + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota-PL: runs-on: ubuntu-latest steps: @@ -335,6 +417,10 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-PL + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota-PT: runs-on: ubuntu-latest @@ -350,6 +436,10 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-PT + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota-RO: runs-on: ubuntu-latest @@ -365,6 +455,10 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-RO + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota-RU: runs-on: ubuntu-latest @@ -380,7 +474,11 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-RU - + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota-SE: runs-on: ubuntu-latest steps: @@ -395,6 +493,10 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-SE + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota-SK: runs-on: ubuntu-latest @@ -410,6 +512,10 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-SK + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota-TR: runs-on: ubuntu-latest @@ -425,6 +531,10 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-TR + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota-TW: runs-on: ubuntu-latest @@ -440,7 +550,11 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-TW - + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota-UK: runs-on: ubuntu-latest steps: @@ -455,3 +569,7 @@ jobs: platformio update - name: Run PlatformIO run: platformio run -e tasmota-UK + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware From de7ce53fb8d091178da877a7b9e93b9bd74f9cd5 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 5 Oct 2020 12:03:39 +0200 Subject: [PATCH 2/2] Build Tasmota32 artifacts on PR --- .github/workflows/CI_github_ESP32.yml | 140 ++++++++++++++++++++++++++ 1 file changed, 140 insertions(+) diff --git a/.github/workflows/CI_github_ESP32.yml b/.github/workflows/CI_github_ESP32.yml index 64fbd39b2..519604bde 100644 --- a/.github/workflows/CI_github_ESP32.yml +++ b/.github/workflows/CI_github_ESP32.yml @@ -19,6 +19,10 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32 + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota32-webcam: runs-on: ubuntu-latest @@ -35,6 +39,10 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-webcam + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota32-minimal: runs-on: ubuntu-latest @@ -51,6 +59,11 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-minimal + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota32-lite: runs-on: ubuntu-latest steps: @@ -66,6 +79,11 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-lite + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota32-knx: runs-on: ubuntu-latest steps: @@ -81,6 +99,10 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-knx + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota32-sensors: runs-on: ubuntu-latest @@ -97,6 +119,11 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-sensors + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota32-display: runs-on: ubuntu-latest steps: @@ -112,6 +139,11 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-display + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota32-ir: runs-on: ubuntu-latest steps: @@ -127,6 +159,11 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-ir + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota32-BG: runs-on: ubuntu-latest steps: @@ -142,6 +179,10 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-BG + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota32-BR: runs-on: ubuntu-latest @@ -158,6 +199,11 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-BR + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota32-CN: runs-on: ubuntu-latest steps: @@ -173,6 +219,11 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-CN + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota32-CZ: runs-on: ubuntu-latest steps: @@ -188,6 +239,11 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-CZ + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota32-DE: runs-on: ubuntu-latest steps: @@ -203,6 +259,10 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-DE + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota32-ES: runs-on: ubuntu-latest @@ -219,6 +279,11 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-ES + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota32-FR: runs-on: ubuntu-latest steps: @@ -234,6 +299,11 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-FR + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota32-GR: runs-on: ubuntu-latest steps: @@ -249,6 +319,11 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-GR + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota32-HE: runs-on: ubuntu-latest steps: @@ -264,6 +339,10 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-HE + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota32-HU: runs-on: ubuntu-latest @@ -280,6 +359,11 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-HU + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota32-IT: runs-on: ubuntu-latest steps: @@ -295,6 +379,11 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-IT + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota32-KO: runs-on: ubuntu-latest steps: @@ -310,6 +399,11 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-KO + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota32-NL: runs-on: ubuntu-latest steps: @@ -325,6 +419,10 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-NL + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota32-PL: runs-on: ubuntu-latest @@ -341,6 +439,11 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-PL + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota32-PT: runs-on: ubuntu-latest steps: @@ -356,6 +459,11 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-PT + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota32-RO: runs-on: ubuntu-latest steps: @@ -371,6 +479,11 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-RO + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota32-RU: runs-on: ubuntu-latest steps: @@ -386,6 +499,10 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-RU + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota32-SE: runs-on: ubuntu-latest @@ -402,6 +519,11 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-SE + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota32-SK: runs-on: ubuntu-latest steps: @@ -417,6 +539,11 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-SK + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota32-TR: runs-on: ubuntu-latest steps: @@ -432,6 +559,11 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-TR + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware + tasmota32-TW: runs-on: ubuntu-latest steps: @@ -447,6 +579,10 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-TW + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware tasmota32-UK: runs-on: ubuntu-latest @@ -463,3 +599,7 @@ jobs: - name: Run PlatformIO run: | platformio run -e tasmota32-UK + - uses: actions/upload-artifact@v2 + with: + name: firmware + path: ./build_output/firmware