diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml index 75f9d1d..efed39a 100644 --- a/.github/workflows/cpp.yml +++ b/.github/workflows/cpp.yml @@ -30,7 +30,10 @@ jobs: if [ "$RUNNER_OS" == "Windows" ]; then curl -L -O https://www.libsdl.org/release/SDL2-devel-2.28.4-VC.zip 7z x SDL2-devel-2.28.4-VC.zip -oSDL2 - ls SDL2/SDL2-2.28.4/cmake + echo "SDL2_DIR=${{ github.workspace }}\SDL2\SDL2-2.0.14" >> $GITHUB_ENV + echo "SDL2_LIB=${{ github.workspace }}\SDL2\SDL2-2.0.14\lib\x64" >> $GITHUB_ENV + echo "SDL2_INCLUDE=${{ github.workspace }}\SDL2\SDL2-2.0.14\include" >> $GITHUB_ENV + echo $SDL2_DIR fi - name: build