File tree Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 7
7
- completed
8
8
9
9
# No permissions by default
10
- permissions : {}
10
+ permissions : { contents: read }
11
11
12
12
jobs :
13
13
unit-test-results :
14
14
name : Unit Test Results
15
- if : github.event.workflow_run.conclusion != 'skipped' || github.event.workflow_run.conclusion != 'cancelled'
15
+ if : |
16
+ github.event.workflow_run.conclusion == 'success' ||
17
+ github.event.workflow_run.conclusion == 'failure' ||
18
+ github.event.workflow_run.conclusion == 'timed_out'
16
19
runs-on : ubuntu-latest
17
20
permissions :
18
21
actions : read
Original file line number Diff line number Diff line change 7
7
- completed
8
8
9
9
# No permissions by default
10
- # permissions: {}
10
+ permissions : { contents: read }
11
11
12
12
env :
13
13
WOKWI_TIMEOUT : 600000 # Milliseconds
22
22
runs-on : ubuntu-latest
23
23
env :
24
24
id : ${{ github.event.workflow_run.head_sha }}-${{ matrix.chip }}-${{ matrix.type }}
25
- # permissions:
26
- # contents: read
27
- # actions: read
28
- # statuses: write
25
+ permissions :
26
+ actions : read
27
+ statuses : write
29
28
strategy :
30
29
fail-fast : false
31
30
matrix :
@@ -116,12 +115,13 @@ jobs:
116
115
117
116
- name : Get binaries
118
117
if : ${{ steps.check-tests.outputs.enabled == 'true' }}
119
- uses : actions/download-artifact @v4
118
+ uses : actions/cache/restore @v4
120
119
with :
121
- run-id : ${{ github.event.workflow_run.id }}
122
- name : tests-bin-${{ matrix.chip }}-${{ matrix.type }}
120
+ key : tests-${{ env.id }}-bin
123
121
path : |
124
- ~/.arduino/tests
122
+ ~/.arduino/tests/**/build*.tmp/*.bin
123
+ ~/.arduino/tests/**/build*.tmp/*.elf
124
+ ~/.arduino/tests/**/build*.tmp/*.json
125
125
126
126
- name : Run Tests
127
127
if : ${{ steps.check-tests.outputs.enabled == 'true' }}
You can’t perform that action at this time.
0 commit comments