Skip to content

Commit

Permalink
locate bash using which actions/runner-images#1081 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
evacchi committed Jan 26, 2023
1 parent 379783c commit e009c0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/python-bash-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ jobs:
- name: Checkout the playground
uses: actions/checkout@v3

- name: delete bash.exe stub on windows
if: runner.os == 'Windows'
run: del C:\Windows\System32\bash.exe

- name: Run all wasi-testsuite
working-directory: python-bash-windows
run: |
Expand Down
3 changes: 2 additions & 1 deletion python-bash-windows/script.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import subprocess
from shutil import which

args = [
'bash',
which('bash'),
'script.sh',
]

Expand Down

0 comments on commit e009c0c

Please sign in to comment.