Skip to content

Commit 111dc6b

Browse files
Create setting-environment-variables.yml
1 parent 0793eab commit 111dc6b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: This is a workflow to test env variables
2+
3+
on:
4+
workflow_dispatch
5+
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
steps:
10+
11+
- name: Trying to add a value
12+
run: |
13+
echo "MY_NEW=hello" >> $GITHUB_ENV
14+
15+
- name: Printing that value
16+
run: |
17+
echo "the value stored in the file is $MY_NEW"
18+

0 commit comments

Comments
 (0)