Skip to content

Commit 6f5fd98

Browse files
authored
workflow_commands
1 parent 0983a7f commit 6f5fd98

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-commands
2+
3+
name: workflow_commands
4+
5+
on:
6+
push:
7+
8+
jobs:
9+
jon1:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: set a variables
13+
run: echo "MY_VAR=vikram" >> $GITHUB_ENV
14+
15+
- name: print all
16+
run : |
17+
echo $GITHUB_ENV
18+
echo $MY_VAR

0 commit comments

Comments
 (0)