You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support outputs in reusable workflow call. See the official document for the usage of the outputs syntax. (#119, #121)
Example of reusable workflow definition:
on:
workflow_call:
outputs:
some_output:
description: "Some awesome output"value: 'result value of workflow call'jobs:
job:
runs-on: ubuntu-lateststeps:
...
Support checking jobs context, which is only available in on.workflow_call.outputs.<name>.value. Outputs of jobs can be referred via the context. See the document for more details.
on:
workflow_call:
outputs:
image-version:
description: "Docker image version"# ERROR: 'imagetag' does not exist (typo of 'image_tag')value: ${{ jobs.gen-image-version.outputs.imagetag }}jobs:
gen-image-version:
runs-on: ubuntu-latestoutputs:
image_tag: "${{ steps.get_tag.outputs.tag }}"steps:
- run: ./output_image_tag.shid: get_tag
Add new major releases in actions/* actions including actions/checkout@v3, actions/setup-go@v3, actions/setup-python@v3, ...
Check job IDs. They must start with a letter or _ and contain only alphanumeric characters, - or _. See the document for more details. (#80)
on: pushjobs:
# ERROR: '.' cannot be contained in job IDfoo-v1.2.3:
runs-on: ubuntu-lateststeps:
- run: 'job ID with version'