fix: dont require OS input and use correct shell per os

This commit is contained in:
Nick Fields
2021-01-02 10:20:16 -05:00
parent 877a0ac37e
commit d0aac3501c
6 changed files with 93 additions and 79 deletions

View File

@@ -20,10 +20,6 @@ Retries an Action step on failure or timeout. This is currently intended to repl
**Required** The command to run
### `OS`
**Required** The OS passed from the runner (runner.OS)
### `retry_wait_seconds`
**Optional** Number of seconds to wait before attempting the next retry. Defaults to `10`
@@ -69,7 +65,6 @@ uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 3
os: ${{ runner.os }}
shell: pwsh
command: dir
```