Skip to content

Commit

Permalink
Fix x86 check windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jborean93 committed Oct 6, 2021
1 parent f6c3a0d commit 8f2654d
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8f2654d

Please sign in to comment.