6565 run : |
6666 echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
6767 echo "vcpkg-dir=${{ github.workspace }}/.vcpkg" >> "$GITHUB_OUTPUT"
68- echo "VCPKG_INSTALLATION_ROOT=$VCPKG_INSTALLATION_ROOT "
68+ echo "runner.os=${{ runner.os }} "
6969
7070 - uses : lukka/get-cmake@v3.29.5
7171 if : runner.os == 'Linux'
@@ -97,10 +97,11 @@ jobs:
9797 wget https://raw.githubusercontent.com/microsoft/msquic/main/src/inc/quic_sal_stub.h
9898 sudo mv msquic.h msquic_posix.h quic_sal_stub.h /usr/include/
9999
100- - uses : actions/cache/restore@v4
100+ - id : vcpkg-cache
101+ uses : actions/cache/restore@v4
101102 with :
102103 path : ${{ steps.strings.outputs.vcpkg-dir }}
103- key : ${{ matrix.os }}-vcpkg
104+ key : vcpkg- ${{ matrix.os }}-${{ hashFiles(' vcpkg.json', 'vcpkg-configuration.json') }}
104105
105106 - uses : actions/cache/restore@v4
106107 if : runner.os == 'Windows'
@@ -113,6 +114,11 @@ jobs:
113114 run : |
114115 choco install directx-sdk nsis
115116
117+ - name : Dependencies Windows
118+ if : runner.os == 'Darwin'
119+ run : |
120+ brew install nasm
121+
116122 - uses : actions/cache/save@v4
117123 with :
118124 path : C:\Users\runneradmin\AppData\Local\Temp\chocolatey
@@ -130,7 +136,7 @@ jobs:
130136 - uses : actions/cache/save@v4
131137 with :
132138 path : ${{ steps.strings.outputs.vcpkg-dir }}
133- key : ${{ matrix.os }}-vcpkg
139+ key : vcpkg- ${{ matrix.os }}-${{ hashFiles(' vcpkg.json', 'vcpkg-configuration.json') }}
134140
135141 - name : Build
136142 env :
0 commit comments