Skip to content

Commit 44f9b70

Browse files
committed
fix multi-line run commands in GitHub workflow
1 parent d5c428c commit 44f9b70

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,23 @@ jobs:
2626
- name: Install MATLAB
2727
uses: matlab-actions/setup-matlab@v1
2828
- name: Install vcpkg packages
29-
run:
29+
run: |
3030
cd vcpkg
3131
./bootstrap-vcpkg.sh
3232
./vcpkg install abseil c-ares curl grpc nlohmann-json openssl protobuf re2 upb zlib gtest benchmark
3333
- name: Download OpenTelemetry Collector binary
34-
run:
34+
run: |
3535
mkdir otelcol && cd otelcol
3636
wget https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v0.75.0/otelcol_0.75.0_linux_amd64.tar.gz
3737
tar -xzf otelcol_0.75.0_linux_amd64.tar.gz
3838
- name: Build OpenTelemetry-cpp
39-
run:
39+
run: |
4040
cd opentelemetry-cpp
4141
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_CXX_STANDARD=20 -DWITH_OTLP_HTTP=TRUE -DWITH_OTLP_GRPC=TRUE -DOPENTELEMETRY_INSTALL=ON -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake
4242
cmake --build build --config Release --target all
4343
cmake --install build --prefix ${{ env.OPENTELEMETRY_CPP_INSTALL }}
4444
- name: Build OpenTelemetry-Matlab
45-
run:
45+
run: |
4646
cd opentelemetry-matlab
4747
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${{ env.OPENTELEMETRY_MATLAB_INSTALL }} -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_PREFIX_PATH=${{ env.OPENTELEMETRY_CPP_INSTALL }}/lib/cmake/opentelemetry-cpp
4848
cmake --build build --config Release --target install

0 commit comments

Comments
 (0)