File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,17 +16,17 @@ jobs:
16
16
# - MBED_TARGET: NUCLEO_H723ZG
17
17
runs-on : ${{ matrix.target.MBED_TARGET }}
18
18
env :
19
- BUILD_DIR : ~/actions-runner/_build_${{ matrix.target.MBED_TARGET }}
20
19
JUNIT_OUTPUT : ${{ github.workspace }}/mbed-tests-${{ matrix.target.MBED_TARGET }}.xml
21
20
steps :
22
21
- uses : actions/checkout@v4
23
- - name : Create build directory
24
- run : mkdir -p "$BUILD_DIR"
25
22
- name : Set build variables
26
23
run : |
27
24
echo "MBED_GREENTEA_SERIAL_PORT=$(jq -r --arg RUNNER_NAME ${{ runner.name }} '.[$RUNNER_NAME].MBED_GREENTEA_SERIAL_PORT' runners/runner_configuration.json)" >> $GITHUB_ENV
28
25
echo "UPLOAD_METHOD=$(jq -r --arg RUNNER_NAME ${{ runner.name }} '.[$RUNNER_NAME].UPLOAD_METHOD' runners/runner_configuration.json)" >> $GITHUB_ENV
29
26
echo "OPENOCD_ADAPTER_SERIAL=$(jq -r --arg RUNNER_NAME ${{ runner.name }} '.[$RUNNER_NAME].OPENOCD_ADAPTER_SERIAL' runners/runner_configuration.json)" >> $GITHUB_ENV
27
+ echo "BUILD_DIR=$HOME/actions-runner/${{ runner.name }}/_build" >> $GITHUB_ENV
28
+ - name : Create build directory
29
+ run : mkdir -p "$BUILD_DIR"
30
30
- name : Configure cmake
31
31
run : >
32
32
cd "$BUILD_DIR" &&
You can’t perform that action at this time.
0 commit comments