GitHub Action
Wait for other job
v1.1.1
Latest version
This action provides a simple way to wait for a specific job (in current workflow) to complete.
- name: Wait
uses: NathanFirmo/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
job: 'job-name'
OBS.: If you get an error in private repos, use a Personal Access Token instead.
The following inputs are required to use this action:
Input | Description |
---|---|
token |
Your GitHub token. See more in GitHub Docs. |
job |
Name of the job you wanna wait for. |
These are the optional inputs for this action:
Input | Description |
---|---|
failOnJobError |
If true, the action will fail case an error happen in the job you are waiting for. |
This action can be useful you to decrease CI execution time helping to parallelize jobs like build, test and deployment.