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