We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdbf448 commit 26a07eeCopy full SHA for 26a07ee
.github/workflows/action/action.yml
.github/workflows/build.yml
@@ -3,6 +3,23 @@ name: build
3
on: [ push ]
4
5
jobs:
6
+ job1:
7
+ runs-on: ubuntu-latest
8
+ # Map a step output to a job output
9
+ outputs:
10
+ output1: ${{ steps.step1.outputs.test }}
11
+ output2: ${{ steps.step2.outputs.test }}
12
+ steps:
13
+ - id: step1
14
+ run: echo "::set-output name=test::hello"
15
+ - id: step2
16
+ run: echo "::set-output name=test::world"
17
+ job2:
18
19
+ needs: job1
20
21
+ - run: echo ${{needs.job1.outputs.output1}} ${{needs.job1.outputs.output2}}
22
+
23
linux:
24
name: 'Linux'
25
runs-on: ubuntu-latest
.github/workflows/build2.yml
0 commit comments