Skip to content

Commit

Permalink
fix: jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Friedjof committed Sep 30, 2023
1 parent 125f94a commit 913ab56
Showing 1 changed file with 8 additions and 37 deletions.
45 changes: 8 additions & 37 deletions .github/workflows/build-esp32dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.11'

Expand All @@ -30,7 +30,7 @@ jobs:
run: platformio run -e esp32dev

- name: Upload Build Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: platformio-build
path: .pio/build
Expand All @@ -41,35 +41,6 @@ jobs:
platformio-build-esp8266:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.11'

- name: Install PlatformIO
run: |
pip install platformio
platformio update
- name: Build PlatformIO Project for ESP8266
run: platformio run -e esp8266

- name: Upload Build Artifacts
uses: actions/upload-artifact@v2
with:
name: platformio-build
path: .pio/build

- name: Cleanup
run: rm -rf .pio

platformio-build-fs-esp32dev:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v3
Expand All @@ -84,8 +55,8 @@ jobs:
pip install platformio
platformio update
- name: Build PlatformIO Project for Filesystem
run: pio run -t buildfs -e esp32dev
- name: Build PlatformIO Project for ESP8266
run: platformio run -e esp8266

- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
Expand All @@ -96,7 +67,7 @@ jobs:
- name: Cleanup
run: rm -rf .pio

platformio-build-fs-esp8266:
platformio-build-fs:
runs-on: ubuntu-latest

steps:
Expand All @@ -114,7 +85,7 @@ jobs:
platformio update
- name: Build PlatformIO Project for Filesystem
run: pio run -t buildfs -e esp8266
run: pio run -t buildfs

- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
Expand All @@ -123,4 +94,4 @@ jobs:
path: .pio/build

- name: Cleanup
run: rm -rf .pio
run: rm -rf .pio

0 comments on commit 913ab56

Please sign in to comment.