From 1465d32bb7be9fb5560bab53bef55ef223640e44 Mon Sep 17 00:00:00 2001 From: Branden Archer Date: Sun, 13 Dec 2020 12:32:00 -0800 Subject: [PATCH] Allow use of deprecated add-path The add-path command in Github Actions has been deprecated: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ This commit enables it use for a little longer, following the example from: https://github.com/actions/toolkit/issues/641 --- .github/workflows/windows.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index cc43d9f4..364dfef1 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -12,6 +12,8 @@ jobs: steps: - uses: actions/checkout@v2 - uses: microsoft/setup-msbuild@v1.0.0 + env: + ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' - name: echo MSBuild run: msbuild -version - name: mkdir build @@ -68,8 +70,12 @@ jobs: - uses: actions/checkout@v2 - name: add mingw to path run: echo "::add-path::C:\msys64\mingw64\bin" + env: + ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' - name: add mingw to path run: echo "::add-path::C:\msys64\usr\bin" + env: + ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' - name: autoreconf run: bash -c "autoreconf -i" - name: configure