Outcome and conclusion missing in steps context for functions
Current situation
The following workflow fails when evaluating steps.step_with_id.outcome if the step_with_id step succeeds. (It works fine if the step_with_id step fails.)
metadata:
name: Test wf conditions
jobs:
my-job:
name: Test wf conditions
runs-on: linux
steps:
- name: Step with id
id: step_with_id
run: echo foo
- name: Step showing previous step outcome
run: echo ${{ steps.step_with_id.outcome }}
Similarily, the following workflows always fail:
metadata:
name: foo
jobs:
yada:
runs-on: linux
steps:
- uses: actions/create-archive
with:
patterns: ['*.png']
continue-on-error: true
id: create_archive
- run: echo ${{ steps.create_archive.outcome }}
Desired outcome
The workflows should work (that is, displaying success in the first case, and either success or failure in the second case).