Fork of TSRBerry/unstable-commands for PR checks workflow
dependabot[bot] a916a5bb49 Bump typescript from 5.3.3 to 5.4.2 (#104) | преди 8 месеца | |
---|---|---|
.github | преди 9 месеца | |
src | преди 1 година | |
tests | преди 1 година | |
.eslintignore | преди 1 година | |
.eslintrc.json | преди 1 година | |
.gitattributes | преди 1 година | |
.gitignore | преди 1 година | |
.markdownlint.json | преди 1 година | |
.nvmrc | преди 10 месеца | |
.prettierignore | преди 1 година | |
.prettierrc.json | преди 1 година | |
LICENSE | преди 1 година | |
README.md | преди 9 месеца | |
action.yml | преди 1 година | |
jest.config.js | преди 1 година | |
package.json | преди 8 месеца | |
pnpm-lock.yaml | преди 8 месеца | |
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"