Skip to content

Commit

Permalink
name: Using ENV global, job and step
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosJoseChaconChavarria authored May 27, 2024
1 parent 011a503 commit c9f213d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/variables-ENV.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Using ENV global, job and step

on: ['push']

env:
globalEnvDay: Monday
jobs:
commands:
runs-on: ubuntu-latest
env:
jobEnvDay: "Tuesday"
steps:
- name: Exporting Var
env:
stepEnvDay: "Webnesday"
run: |
echo "Firt Day: $globalEnvDay"
echo "Second Day: $jobEnvDay"
echo "Firt Day: $stepEnvDay"

0 comments on commit c9f213d

Please sign in to comment.