Skip to content

Commit 0bb960e

Browse files
committed
fix(github-actions): composite actions need explicit shell
This is necessary as otherwise the composite action is broken.
1 parent 71f5993 commit 0bb960e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

github-actions/setup-wsl/action.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ outputs:
2525
runs:
2626
using: composite
2727
steps:
28-
# Git checkout converts to CRLF by default. This causes the Aspect lock
29-
# files to differ. See: https://github.com/actions/checkout/issues/135.
30-
- run: |
31-
git config --system core.autocrlf false
32-
git config --system core.eol lf
33-
3428
# Configure the WSL VM.
3529
- uses: Vampire/setup-wsl@v4
3630
with:
@@ -53,6 +47,8 @@ runs:
5347
5448
- name: Determining paths for common WSL usage (e.g. path to cmd, npm, git)
5549
id: wsl_paths
50+
# Note: This executes outside of WSL.
51+
shell: bash
5652
run: |
5753
cmd_path=$(which cmd.exe)
5854
cmd_wsl_path=$(wsl exec wslpath -u $cmd_path)

0 commit comments

Comments
 (0)