File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 30
30
runs-on : ubuntu-latest
31
31
32
32
outputs :
33
+ test-mode : ${{ env.TEST_MODE }}
33
34
test-chunks : ${{ steps.set-test-chunks.outputs.test-chunks }}
34
35
35
36
steps :
42
43
- name : Determine test mode and find boards
43
44
run : |
44
45
if [ "${{ github.event_name }}" = "pull_request" ]; then
46
+ echo "TEST_MODE=new" >> "$GITHUB_ENV"
45
47
bash .github/scripts/find_boards.sh new ${{ github.repository }} ${{github.base_ref}}
46
48
else
49
+ echo "TEST_MODE=all" >> "$GITHUB_ENV"
47
50
bash .github/scripts/find_boards.sh all
48
51
fi
49
52
78
81
FQBN : ${{ toJSON(matrix.chunk) }}
79
82
80
83
- name : Check if build.board is uppercase
84
+ if : ${{ env.TEST_MODE == 'new' }}
81
85
run : |
82
86
# Read FQBNs from the JSON file and check each one
83
87
invalid_boards=""
You can’t perform that action at this time.
0 commit comments