- Support outputs in reusable workflow call. See the official document for the usage of the outputs syntax. (#119, #121)
Example of reusable workflow definition:Example of reusable workflow call:on: workflow_call: outputs: some_output: description: "Some awesome output" value: 'result value of workflow call' jobs: job: runs-on: ubuntu-latest steps: ...
jobs: job1: uses: ./.github/workflows/some_workflow.yml job2: runs-on: ubuntu-latest needs: job1 steps: - run: echo ${{ needs.job1.outputs.some_output }}
- Support checking
jobscontext, which is only available inon.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-latest outputs: image_tag: "${{ steps.get_tag.outputs.tag }}" steps: - run: ./output_image_tag.sh id: get_tag
- Add new major releases in
actions/*actions includingactions/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: push jobs: # ERROR: '.' cannot be contained in job ID foo-v1.2.3: runs-on: ubuntu-latest steps: - run: 'job ID with version'
- Fix
windows-latestnow meanswindows-2022runner. See virtual-environments#4856 for the details. (#120) - Update the playground dependencies to the latest.
- Update Go module dependencies