Skip to content

Commit bd42b9f

Browse files
Update compile-examples.yml
1 parent 9328e52 commit bd42b9f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/compile-examples.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ on:
1212
- ".github/workflows/compile-examples.yml"
1313
- "examples/**"
1414
- "src/**"
15-
15+
16+
workflow_dispatch:
17+
repository_dispatch:
18+
1619
jobs:
1720
build:
1821
name: ${{ matrix.board.fqbn }}
@@ -155,7 +158,7 @@ jobs:
155158

156159
steps:
157160
- name: Checkout repository
158-
uses: actions/checkout@v3
161+
uses: actions/checkout@master
159162

160163
- name: Install ESP32 platform dependencies
161164
if: startsWith(matrix.board.fqbn, 'esp32:esp32')
@@ -178,8 +181,8 @@ jobs:
178181
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
179182

180183
- name: Save sketches report as workflow artifact
181-
uses: actions/upload-artifact@v3
184+
uses: actions/upload-artifact@v4
182185
with:
183186
if-no-files-found: error
184187
path: ${{ env.SKETCHES_REPORTS_PATH }}
185-
name: ${{ env.SKETCHES_REPORTS_PATH }}
188+
name: artifacts-${{ env.SKETCHES_REPORTS_PATH }}-${{ strategy.job-index }}

0 commit comments

Comments
 (0)