Skip to content

Commit

Permalink
Update blank.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chokecoDev authored Oct 2, 2024
1 parent ad2a81c commit f841f49
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,15 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
#- uses: actions/checkout@v4

# Runs a single command using the runners shell
- name: Run a one-line script
run: ls -la
env:
envar: 'ABC'
run: echo $envar
- name: Run a one-line script
run: echo $envar

# Runs a set of commands using the runners shell
#- name: Run a multi-line script
Expand All @@ -46,4 +50,6 @@ jobs:

# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!
run: echo "STEP_ENV_VAR=This is a step-level environment variable" >> $GITHUB_ENV
- name: Print step-level environment variable
run: echo "Step env var: $STEP_ENV_VAR"

0 comments on commit f841f49

Please sign in to comment.