Skip to content

Commit

Permalink
Revert "Merge pull request #8 from protocol/configure-shell"
Browse files Browse the repository at this point in the history
This reverts commit 9d28aab, reversing
changes made to a932405.
  • Loading branch information
galargh committed Dec 2, 2021
1 parent 9d28aab commit 055413b
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,11 @@ inputs:
working-directory:
description: "working directory"
required: false
shell:
description: "shell (options: 'bash' or 'msys2 {0}')"
default: "bash"
required: false

runs:
using: "composite"
steps:
- name: create bash-or-msys2 (for bash)
shell: bash
if: inputs.shell == 'bash'
run: sudo ln -sf $(which bash) /usr/local/bin/bash-or-msys2
- name: create bash-or-msys2 (for msys2)
shell: bash
if: inputs.shell == 'msys2 {0}'
run: |
if [[ ! -f "D:/a/_temp/setup-msys2/bash-or-msys2.cmd" ]]; then
powershell New-Item -ItemType SymbolicLink -Path "D:/a/_temp/setup-msys2/bash-or-msys2.cmd" -Target "D:/a/_temp/setup-msys2/msys2.cmd"
fi
- shell: bash-or-msys2 {0}
- shell: bash
working-directory: ${{ inputs.working-directory }}
run: |
status=0
Expand Down

0 comments on commit 055413b

Please sign in to comment.