Wait for other job
ActionsThis action provides a simple way to wait for a specific job (in current workflow) to complete.
- name: Wait
uses: NathanFirmo/wait-for-other-job@v1.1.1
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.
Wait for other job is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.