Skip to content

Commit 6d6c6b9

Browse files
committed
2 parents 9671980 + 47b9b20 commit 6d6c6b9

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

.github/workflows/main.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,29 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
strategy:
9+
fail-fast: false
910
matrix:
10-
environment: [drucker_1, drucker_2, drucker_3] # Hier werden 3 parallele Jobs gestartet
11+
environment: [drucker_1, drucker_2, drucker_3]
1112

1213
steps:
13-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 1
1417

1518
- name: Cache pip
16-
uses: actions/cache@v3
19+
uses: actions/cache@v4
1720
with:
1821
path: ~/.cache/pip
1922
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
2023

2124
- name: Cache PlatformIO
22-
uses: actions/cache@v3
25+
uses: actions/cache@v4
2326
with:
2427
path: ~/.platformio
2528
key: ${{ runner.os }}-platformio
2629

2730
- name: Set up Python
28-
uses: actions/setup-python@v4
31+
uses: actions/setup-python@v5
2932
with:
3033
python-version: '3.11'
3134

@@ -34,6 +37,7 @@ jobs:
3437

3538
- name: Run PlatformIO Build
3639
run: pio run -e ${{ matrix.environment }}
40+
working-directory: firmware/octoprint
3741
env:
3842
WIFI_SSID: ${{ secrets.WIFI_SSID }}
3943
WIFI_PASS: ${{ secrets.WIFI_PASS }}
@@ -42,7 +46,7 @@ jobs:
4246
API_KEY_D3: ${{ secrets.API_KEY_D3 }}
4347

4448
- name: Upload Binary
45-
uses: actions/upload-artifact@v3
49+
uses: actions/upload-artifact@v4
4650
with:
4751
name: firmware-${{ matrix.environment }}
48-
path: .pio/build/${{ matrix.environment }}/firmware.bin
52+
path: firmware/octoprint/.pio/build/${{ matrix.environment }}/firmware.bin

0 commit comments

Comments
 (0)