Fork of TSRBerry/unstable-commands for PR checks workflow
TSR Berry 19a9a05077 Release package version v1.0.3 | пре 11 месеци | |
---|---|---|
.github | пре 11 месеци | |
dist | пре 11 месеци | |
src | пре 1 година | |
tests | пре 1 година | |
.eslintignore | пре 1 година | |
.eslintrc.json | пре 1 година | |
.gitattributes | пре 1 година | |
.gitignore | пре 1 година | |
.markdownlint.json | пре 1 година | |
.nvmrc | пре 11 месеци | |
.prettierignore | пре 1 година | |
.prettierrc.json | пре 1 година | |
LICENSE | пре 1 година | |
README.md | пре 1 година | |
action.yml | пре 1 година | |
jest.config.js | пре 1 година | |
package.json | пре 11 месеци | |
pnpm-lock.yaml | пре 11 месеци | |
tsconfig.json | пре 1 година |
A GitHub 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
Optional:
The shell to use to run the commands.
Use this like the shell
keyword for steps.
Default: "default-shell"
.
working-directory
Optional:
The working directory where the commands are executed in.
Use this like the working-directory
keyword for steps.
Default: ${{ github.workspace }}
.
max-retries
Optional: 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"