File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
.github/actions/vcpkg-cache Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4,21 +4,23 @@ inputs:
44 description : ' Path where to install vcpkg'
55 required : true
66 type : string
7+ env :
8+ VCPKG_ROOT : ${{ github.workspace }}/vcpkg
79runs :
810 using : " composite"
911 steps :
1012 - name : Install vcpkg
11- shell : pwsh
13+ shell : bash
1214 run : |
1315 echo "Installing vcpkg"
1416
15- VCPKG_DIR=${{ inputs.vcpkg-root-path }}
17+ VCPKG_DIR=${{ env.VCPKG_ROOT }}
1618 echo "before VCPKG_DIR=$VCPKG_DIR"
1719 VCPKG_DIR="${VCPKG_DIR//\\//}" # Convert backslashes to forward slashes for compatibility
1820 echo "after VCPKG_DIR=$VCPKG_DIR"
1921
2022 echo "VCPKG_INSTALLATION_ROOT=$VCPKG_DIR" >> $GITHUB_ENV
21- echo "PATH=$VCPKG_DIR; $PATH" >> $GITHUB_ENV
23+ echo "PATH=$VCPKG_DIR: $PATH" >> $GITHUB_ENV
2224 echo "VCPKG_DEFAULT_BINARY_CACHE=$VCPKG_DIR/.cache" >> $GITHUB_ENV
2325 which vcpkg
2426
You can’t perform that action at this time.
0 commit comments