diff --git a/.github/actions/initialize-linux-env/action.yml b/.github/actions/initialize-linux-env/action.yml index ef0dbb500..67851bdb8 100644 --- a/.github/actions/initialize-linux-env/action.yml +++ b/.github/actions/initialize-linux-env/action.yml @@ -13,9 +13,12 @@ runs: - name: Setup OpenGL shell: bash run: sudo apt-get install libxi-dev libgl1-mesa-dev libglu1-mesa-dev mesa-common-dev libxrandr-dev libxxf86vm-dev + - name: Run git fetch on vcpkg + shell: bash + run: cd "$VCPKG_INSTALLATION_ROOT" && git checkout . && git fetch && git pull && ./bootstrap-vcpkg.sh - name: Cache Vcpkg id: cache-vcpkg uses: actions/cache@v3 with: path: ~/.cache/vcpkg/archives - key: ${{ runner.os }}-vcpkg-cache \ No newline at end of file + key: ${{ runner.os }}-vcpkg-cache diff --git a/.github/actions/initialize-windows-env/action.yml b/.github/actions/initialize-windows-env/action.yml index 8f472fd00..8e29f97da 100644 --- a/.github/actions/initialize-windows-env/action.yml +++ b/.github/actions/initialize-windows-env/action.yml @@ -7,6 +7,14 @@ runs: uses: ashutoshvarma/setup-ninja@v1.1 with: version: 1.10.0 + - name: Update vcpkg + shell: pwsh + run: | + Push-Location "$env:VCPKG_INSTALLATION_ROOT" + git fetch + git pull + ./bootstrap-vcpkg.bat + Pop-Location - name: Cache Vcpkg id: cache-vcpkg uses: actions/cache@v3