88 type : boolean
99 required : true
1010 default : false
11- boards :
12- description : Boards to test, json list
11+ devices :
12+ description : Devices to test, json list
1313 type : string
1414 required : true
1515 default : ' [\"thingy91x\"]'
2525 setup :
2626 runs-on : ubuntu-latest
2727 outputs :
28- boards : ${{ steps.setup.outputs.boards }}
28+ devices : ${{ steps.setup.outputs.devices }}
2929 build_all : ${{ steps.setup.outputs.build_all == 'true' }}
3030 steps :
3131 - name : Setup
@@ -35,18 +35,18 @@ jobs:
3535 PUSH=${{ github.event_name == 'push' }}
3636 BUILD_ALL=${{ inputs.build_all }}
3737 if [[ $SCHEDULED == true ]]; then
38- boards ='["thingy91x","nrf9151dk","ppk_thingy91x"]'
38+ devices ='["thingy91x","nrf9151dk","ppk_thingy91x"]'
3939 build_all=true
4040 elif [[ $PUSH == true ]]; then
41- boards ='["thingy91x"]'
41+ devices ='["thingy91x"]'
4242 build_all=false
4343 else
44- boards =${{ inputs.boards }}
44+ devices =${{ inputs.devices }}
4545 build_all=${{ inputs.build_all }}
4646 fi
47- echo "boards=$boards "
47+ echo "devices=$devices "
4848 echo "build_all=$build_all"
49- echo "boards=$boards " >> $GITHUB_OUTPUT
49+ echo "devices=$devices " >> $GITHUB_OUTPUT
5050 echo "build_all=$build_all" >> $GITHUB_OUTPUT
5151 build :
5252 needs : setup
6565 with :
6666 artifact_fw_version : ${{ needs.build.outputs.version }}
6767 artifact_run_id : ${{ needs.build.outputs.run_id }}
68- devices : ${{ needs.setup.outputs.boards }}
68+ devices : ${{ needs.setup.outputs.devices }}
6969 test_all : ${{ needs.setup.outputs.build_all == 'true' }}
0 commit comments