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 3030 runs-on : ubuntu-latest
3131
3232 outputs :
33+ test-mode : ${{ env.TEST_MODE }}
3334 test-chunks : ${{ steps.set-test-chunks.outputs.test-chunks }}
3435
3536 steps :
4243 - name : Determine test mode and find boards
4344 run : |
4445 if [ "${{ github.event_name }}" = "pull_request" ]; then
46+ echo "TEST_MODE=new" >> "$GITHUB_ENV"
4547 bash .github/scripts/find_boards.sh new ${{ github.repository }} ${{github.base_ref}}
4648 else
49+ echo "TEST_MODE=all" >> "$GITHUB_ENV"
4750 bash .github/scripts/find_boards.sh all
4851 fi
4952
7881 FQBN : ${{ toJSON(matrix.chunk) }}
7982
8083 - name : Check if build.board is uppercase
84+ if : ${{ env.TEST_MODE == 'new' }}
8185 run : |
8286 # Read FQBNs from the JSON file and check each one
8387 invalid_boards=""
You can’t perform that action at this time.
0 commit comments