Skip to content

Commit 26a07ee

Browse files
committed
test
1 parent cdbf448 commit 26a07ee

File tree

3 files changed

+17
-25
lines changed

3 files changed

+17
-25
lines changed

.github/workflows/action/action.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,23 @@ name: build
33
on: [ push ]
44

55
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+
runs-on: ubuntu-latest
19+
needs: job1
20+
steps:
21+
- run: echo ${{needs.job1.outputs.output1}} ${{needs.job1.outputs.output2}}
22+
623
linux:
724
name: 'Linux'
825
runs-on: ubuntu-latest

.github/workflows/build2.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)