From bb15d9dd774db9e22ecf8af37a6a3adb6efa8626 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Wed, 18 Nov 2020 13:43:42 +0000 Subject: [PATCH] Problem: add-path no longer supported in Github Action Solution: update setup-bsbuild action version https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ --- .github/workflows/CI.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index ff1d7503..758e6abf 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -53,10 +53,12 @@ jobs: LIBZMQ_SRCDIR: ${{ github.workspace }}\libzmq steps: - name: Add msbuild to PATH - uses: microsoft/setup-msbuild@v1.0.0 + uses: microsoft/setup-msbuild@v1.0.2 if: matrix.os == 'windows-2019' - name: Add msbuild to PATH 2016 - run: echo "##[add-path]C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin" + uses: microsoft/setup-msbuild@v1.0.2 + with: + vs-version: '[15.0,16.0)' if: matrix.os == 'windows-2016' - uses: actions/checkout@v2 if: matrix.WITH_LIBSODIUM == 'ON'