From 14c1b53f56c4223afab15694fec9986adbf1e112 Mon Sep 17 00:00:00 2001 From: "K. S. Ernest (iFire) Lee" Date: Sun, 6 Jun 2021 17:54:15 -0700 Subject: [PATCH] Checkout repo. --- .github/workflows/build-win-10.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-win-10.yml b/.github/workflows/build-win-10.yml index 541b394..29890e6 100644 --- a/.github/workflows/build-win-10.yml +++ b/.github/workflows/build-win-10.yml @@ -4,6 +4,10 @@ jobs: build: runs-on: windows-latest steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 2 + - run: git checkout HEAD^ - name: install conan run: | @@ -59,12 +63,12 @@ jobs: - name: Conan install run: | - cd .. && conan install . -i build -s build_type=Release -s compiler="Visual Studio" --build fmt --build boost_system --build boost_filesystem --build libiconv --build=libxml2 --build=zlib + conan install . -i build -s build_type=Release -s compiler="Visual Studio" --build fmt --build boost_system --build boost_filesystem --build libiconv --build=libxml2 --build=zlib shell: cmd - name: Conan build run: | - cd .. && conan build -bf build . + conan build -bf build . shell: cmd - name: Move build