Skip to content

Commit ff98063

Browse files
added changes
1 parent a590913 commit ff98063

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/dev.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
job1:
10+
runs-on: ubuntu-latest
11+
outputs:
12+
artifact: my-app
13+
steps:
14+
- id: step1
15+
name: step 1
16+
run: echo tip='HOW ARE YOU?' >> $GITHUB_OUTPUT
17+
- name: step 2
18+
run: "output from step1 is ${{ steps.step1.outputs.tip }}"
19+
job2:
20+
needs: job1
21+
runs-on: ubuntu-latest
22+
steps:
23+
- run: echo "${{ needs.job1.outputs.artifact }}"

0 commit comments

Comments
 (0)