feat(action): try use output variables
All checks were successful
/ checkout (push) Successful in 0s
All checks were successful
/ checkout (push) Successful in 0s
This commit is contained in:
parent
17e9c79cee
commit
49482c3e1d
1 changed files with 4 additions and 2 deletions
|
|
@ -12,10 +12,12 @@ jobs:
|
|||
# - name: checkout
|
||||
# run: |
|
||||
# git checkout
|
||||
- name: Output and update env.test
|
||||
- name: Output and set some-result.test
|
||||
id: some-result
|
||||
run: |
|
||||
echo ${{ env.test }}
|
||||
echo 'test=good' >> $FORGEJO_OUTPUT
|
||||
- name: Output updated env.test?
|
||||
run: |
|
||||
echo ${{ env.test }}
|
||||
echo ${{ steps.some-result.outputs.test }}
|
||||
test ${{ steps.some-result.outputs.test }} = good
|
||||
|
|
|
|||
Loading…
Reference in a new issue