From 055413b2c98ee221299833e2a280655edc0dfba7 Mon Sep 17 00:00:00 2001 From: galargh Date: Thu, 2 Dec 2021 17:01:49 +0100 Subject: [PATCH] Revert "Merge pull request #8 from protocol/configure-shell" This reverts commit 9d28aab64a8791076f7e54c487490aca768a200b, reversing changes made to a9324050387ecb413e92dac85a9def4bef505d46. --- action.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/action.yml b/action.yml index 24835a4..1941c1b 100644 --- a/action.yml +++ b/action.yml @@ -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