Skip to content

Commit f0bbf85

Browse files
author
Victor Tang
committed
update build dir
1 parent adb6864 commit f0bbf85

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/target_tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ jobs:
1616
# - MBED_TARGET: NUCLEO_H723ZG
1717
runs-on: ${{ matrix.target.MBED_TARGET }}
1818
env:
19-
BUILD_DIR: ~/actions-runner/_build_${{ matrix.target.MBED_TARGET }}
2019
JUNIT_OUTPUT: ${{ github.workspace }}/mbed-tests-${{ matrix.target.MBED_TARGET }}.xml
2120
steps:
2221
- uses: actions/checkout@v4
23-
- name: Create build directory
24-
run: mkdir -p "$BUILD_DIR"
2522
- name: Set build variables
2623
run: |
2724
echo "MBED_GREENTEA_SERIAL_PORT=$(jq -r --arg RUNNER_NAME ${{ runner.name }} '.[$RUNNER_NAME].MBED_GREENTEA_SERIAL_PORT' runners/runner_configuration.json)" >> $GITHUB_ENV
2825
echo "UPLOAD_METHOD=$(jq -r --arg RUNNER_NAME ${{ runner.name }} '.[$RUNNER_NAME].UPLOAD_METHOD' runners/runner_configuration.json)" >> $GITHUB_ENV
2926
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"
3030
- name: Configure cmake
3131
run: >
3232
cd "$BUILD_DIR" &&

0 commit comments

Comments
 (0)