Fork of TSRBerry/unstable-commands for PR checks workflow
|
il y a 1 an | |
---|---|---|
.github | il y a 1 an | |
dist | il y a 1 an | |
src | il y a 1 an | |
tests | il y a 1 an | |
.eslintignore | il y a 1 an | |
.eslintrc.json | il y a 1 an | |
.gitattributes | il y a 1 an | |
.gitignore | il y a 1 an | |
.nvmrc | il y a 1 an | |
.prettierignore | il y a 1 an | |
.prettierrc.json | il y a 1 an | |
LICENSE | il y a 1 an | |
README.md | il y a 1 an | |
action.yml | il y a 1 an | |
jest.config.js | il y a 1 an | |
package.json | il y a 1 an | |
pnpm-lock.yaml | il y a 1 an | |
tsconfig.json | il y a 1 an |
An action to retry commands if weird things happen.
commands
Required The commands to run. Use this like the run
keyword for steps.
timeout-minutes
Required Maximum number of minutes to wait for the commands to finish execution. Use this like the timeout-minutes
keyword for steps.
retry-codes
Required A comma-separated value containing the exit codes which should cause a retry.
shell
The shell to use to run the commands. Use this like the shell
keyword for steps. Default "default-shell"
.
working-directory
The working directory where the commands are executed in. Use this like the working-directory
keyword for steps. Default ${{ github.workspace }}
.
max-retries
Maximum amount of times the specified commands should be tried before giving up. Default "3"
.
uses: TSRBerry/unstable-commands@v1
with:
commands: |
echo "Hello!"
sleep 2m
echo "Bye!"
timeout-minutes: "3"
retry-codes: "1,2,139"