Skip to content

Commit ac694ba

Browse files
authored
Merge pull request #9 from protocol/revert-configure-shell
Revert "Merge pull request #8 from protocol/configure-shell"
2 parents 9d28aab + 055413b commit ac694ba

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

action.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,11 @@ inputs:
88
working-directory:
99
description: "working directory"
1010
required: false
11-
shell:
12-
description: "shell (options: 'bash' or 'msys2 {0}')"
13-
default: "bash"
14-
required: false
1511

1612
runs:
1713
using: "composite"
1814
steps:
19-
- name: create bash-or-msys2 (for bash)
20-
shell: bash
21-
if: inputs.shell == 'bash'
22-
run: sudo ln -sf $(which bash) /usr/local/bin/bash-or-msys2
23-
- name: create bash-or-msys2 (for msys2)
24-
shell: bash
25-
if: inputs.shell == 'msys2 {0}'
26-
run: |
27-
if [[ ! -f "D:/a/_temp/setup-msys2/bash-or-msys2.cmd" ]]; then
28-
powershell New-Item -ItemType SymbolicLink -Path "D:/a/_temp/setup-msys2/bash-or-msys2.cmd" -Target "D:/a/_temp/setup-msys2/msys2.cmd"
29-
fi
30-
- shell: bash-or-msys2 {0}
15+
- shell: bash
3116
working-directory: ${{ inputs.working-directory }}
3217
run: |
3318
status=0

0 commit comments

Comments
 (0)