From 8f2654de4044d5db6946eec1be3f09b48e3b0181 Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Wed, 6 Oct 2021 15:28:30 +1000 Subject: [PATCH] Fix x86 check windows --- .github/workflows/build.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b3ccb305..10ce9345 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -203,13 +203,16 @@ jobs: - name: Set up environment if: startsWith(matrix.os, 'windows-') shell: bash - run: >- - choco.exe install --no-progress --yes --ignore-detected-reboot --allow-downgrade - --install-arguments "'ADDLOCAL=ALL'" - ${{ matrix.arch == 'win32' && '--x86' || '' }} - mitkerberos || true - - echo "C:\Program Files${{ matrix.arch == 'win32' && ' (x86)' || '' }}\MIT\Kerberos\bin;$PATH" >> $GITHUB_PATH + run: | + choco.exe install \ + --no-progress \ + --yes \ + --ignore-detected-reboot \ + --allow-downgrade \ + --install-arguments "'ADDLOCAL=ALL'" \ + ${{ endsWith(matrix.version, '-win32') && '--x86' || '' }} mitkerberos || true + + echo "C:\Program Files${{ endsWith(matrix.version, '-win32')' && ' (x86)' || '' }}\MIT\Kerberos\bin;$PATH" >> $GITHUB_PATH - name: Download sdist uses: actions/download-artifact@v2