From 20739a24c1a506c7490c49382f17a5b954dc370f Mon Sep 17 00:00:00 2001 From: Pragyansh Chaturvedi <76248539+r41k0u@users.noreply.github.com> Date: Thu, 12 Oct 2023 02:08:51 +0530 Subject: [PATCH] Update cpp.yml --- .github/workflows/cpp.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml index efed39a..b7edfc7 100644 --- a/.github/workflows/cpp.yml +++ b/.github/workflows/cpp.yml @@ -30,17 +30,15 @@ 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 - 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 shell: bash run: | if [ "$RUNNER_OS" == "Windows" ]; then - export SDL2_DIR=${{ github.workspace }}/SDL2/SDL2-2.28.4/cmake + export SDL2_DIR=${{ github.workspace }}\SDL2\SDL2-2.28.4\cmake + ls $SDL2_DIR + echo $SDL2_DIR fi mkdir build cd build