feat: add SHELL input support

This commit is contained in:
Isaac Levin authored and GitHub committed 2021-01-01 22:57:53 +00:00
1 parent 0aeb89504c
commit 877a0ac37e
6 files changed
+140 -4

No files matched your search

+19
View File
@@ -197,6 +197,25 @@ jobs:
expected: failure
actual: ${{ steps.sad_path_timeout.outcome }}
- name: sad-path (wrong shell)
id: wrong_shell
uses: ./
continue-on-error: true
with:
timeout_minutes: 1
max_attempts: 2
shell: cmd
command: "dir"
- uses: nick-invision/assert-action@v1
with:
expected: 2
actual: ${{ steps.wrong_shell.outputs.total_attempts }}
- uses: nick-invision/assert-action@v1
with:
expected: failure
actual: ${{ steps.wrong_shell.outcome }}
# runs on push to master only
cd:
name: Publish Action