Skip to content

Commit

Permalink
try again setting envs in the step
Browse files Browse the repository at this point in the history
  • Loading branch information
willwade committed Sep 19, 2024
1 parent a39560b commit 143b180
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,22 @@ jobs:
echo "JSONCPP_INCLUDE_DIR=D:/a/SAPI-POC/SAPI-POC/jsoncpp/include" >> $GITHUB_ENV
echo "JSONCPP_LIB_DIR=D:/a/SAPI-POC/SAPI-POC/jsoncpp/build/lib/Release" >> $GITHUB_ENV
echo "JSONCPP_DLL_DIR=D:/a/SAPI-POC/SAPI-POC/jsoncpp/build/bin/Release" >> $GITHUB_ENV
shell: pwsh

- name: Check Paths
- name: Verify Environment Variables
run: |
echo "Include Dir: $env:JSONCPP_INCLUDE_DIR"
echo "Lib Dir: $env:JSONCPP_LIB_DIR"
echo "DLL Dir: $env:JSONCPP_DLL_DIR"
env
shell: pwsh

- name: Verify JSONCPP Build Output
shell: pwsh
env:
JSONCPP_INCLUDE_DIR: ${{ env.JSONCPP_INCLUDE_DIR }}
JSONCPP_LIB_DIR: ${{ env.JSONCPP_LIB_DIR }}
JSONCPP_DLL_DIR: ${{ env.JSONCPP_DLL_DIR }}
run: |
dir $env:JSONCPP_DLL_DIR
Expand Down

0 comments on commit 143b180

Please sign in to comment.