Skip to content

Commit

Permalink
Merge pull request #35 from airtower-luna/multiple-outputs
Browse files Browse the repository at this point in the history
Demonstrate setting multiple outputs
  • Loading branch information
airtower-luna authored Oct 13, 2022
2 parents 178566c + 9db232a commit 59f2f73
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/multiline-output.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,16 @@ jobs:
run: echo "${LIST}"
env:
LIST: ${{ steps.lines.outputs.list }}

multiple_outputs:
runs-on: ubuntu-20.04
steps:
- name: set outputs
id: colors
run: |
echo "FIRST=green" >>$GITHUB_OUTPUT
echo "SECOND=pink" >>$GITHUB_OUTPUT
- name: show outputs
run: |
echo "The first color is ${{ steps.colors.outputs.FIRST }}"
echo "The second color is ${{ steps.colors.outputs.SECOND }}"

0 comments on commit 59f2f73

Please sign in to comment.