This action provides additinal contextual job informations like the current job id, environment, deployment url and more.
Note
This action also works with matrix jobs as well as within reusable workflows!
jobs:
example:
runs-on: ubuntu-latest
environment: playground
steps:
- uses: qoomon/actions--context@v4
- run: |
echo "Job Log URL: ${GITHUB_JOB_URL}"
echo "Environment: ${GITHUB_ENVIRONMENT}"
echo "Deployment URL: ${GITHUB_DEPLOYMENT_URL}"
-
GITHUB_RUN_URL
- The workflow run HTML url of the current job.
-
GITHUB_JOB_NAME
- The workflow run job name of the current job.
-
GITHUB_JOB_ID
- The workflow run job id of the current job.
-
GITHUB_JOB_URL
- The workflow run jub HTML url of the current job.
-
GITHUB_ENVIRONMENT
- The environment of the current job.
-
GITHUB_ENVIRONMENT_URL
- The environment HTML url of the current job.
-
GITHUB_DEPLOYMENT_ID
- The deployment id of the current job.
-
GITHUB_DEPLOYMENT_URL
- The deployment HTML url of the current job.
-
RUNNER_ID
- The runner id of the current job.
job_name:
description: The workflow run job name of the current job.
job_id:
description: The workflow run job id of the current job.
job_url:
description: The workflow run jub HTML url of the current job.
run_id:
description: The workflow run id of the current job.
run_attempt:
description: The workflow run attempt of the current job.
run_number:
description: The workflow run number of the current job.
run_url:
description: The workflow run HTML url of the current job.
environment:
description: The job environment of the current job.
environment_url:
description: The job environment HTML url of the current job.
deployment_id:
description: The deployment id of the current job.
deployment_url:
description: The deployment HTML url of the current job.
runner_name:
description: The runner name of the current job.
runner_id:
description: The runner id of the current job.
- Trigger the Release workflow
- The workflow will create a new release with the given version and also move the related major version tag e.g.
v1
to point to this new release
- The workflow will create a new release with the given version and also move the related major version tag e.g.