Update Shell Tasks to match ScriptHandlerHelpers (#575)

* Update Shell Tasks to match ScriptHandlerHelpers
Code: https://github.com/actions/runner/blob/main/src/Runner.Worker/Handlers/ScriptHandlerHelpers.cs

Docs: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#using-a-specific-shell

Fixes #467

* 🩹 Remove old ps1 handler

* ♻️ gocritix fix

* 🐛 Powershell command must be a single entry to docker API
Fixes #467

* Remove Act Temp

* Remove additional Act Directories

* remove hard-coded workdir

Co-authored-by: Casey Lee <cplee@nektos.com>
This commit is contained in:
Justin Grote
2021-03-29 10:06:51 -07:00
committed by GitHub
parent c27ef0a65c
commit 957b8ad76d
4 changed files with 48 additions and 4 deletions

12
pkg/runner/testdata/powershell/push.yml vendored Normal file
View File

@@ -0,0 +1,12 @@
name: powershell
on: push
env:
TEST: value
jobs:
check:
runs-on: ubuntu-latest
steps:
- shell: pwsh
run: |
echo "hello test"