Skip to content

Commit 5dadf7a

Browse files
committed
fix gihub workflow yaml to use correct syntacx for accessing env vars
1 parent d3d171c commit 5dadf7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,12 +555,12 @@ jobs:
555555
sudo ./ci/setup_grpc.sh -r $GRPC_VERSION -s $CXX_STANDARD -p protobuf
556556
- name: build and run tests
557557
env:
558-
OTEL_CPP_TEST_INSTALL_DIR: "$HOME/test-install"
558+
OTEL_CPP_TEST_INSTALL_DIR: "${{ env.HOME }}/test-install"
559559
run: |
560560
./ci/do_ci.sh cmake.install.test
561561
- name: verify packages
562562
env:
563-
PKG_CONFIG_PATH: "$HOME/test-install/lib/pkgconfig:${PKG_CONFIG_PATH:-}"
563+
PKG_CONFIG_PATH: "${{ env.HOME }}/test-install/lib/pkgconfig:${{ env.PKG_CONFIG_PATH }}"
564564
run: |
565565
./ci/verify_packages.sh
566566

0 commit comments

Comments
 (0)