File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff 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
1612runs :
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
You can’t perform that action at this time.
0 commit comments