Skip to content

Commit

Permalink
correct test github action secret and variables
Browse files Browse the repository at this point in the history
  • Loading branch information
tgarciai committed Aug 8, 2023
1 parent 23680d1 commit 1cbfbc8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/show-variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:

- name: Use a secret
env:
MY_SECRET: ${{ secrets.MY_SECRET }}
MY_SECRET1: ${{ secrets.MY_SECRET }}
run: |
echo "secret value $MY_SECRET"
echo "secret value $MY_SECRET1"
- name: Use a variable
env:
MY_VAR: ${{ env.MY_VAR }}
MY_VAR1: ${{ env.MY_VAR }}
run: |
echo "variable value $MY_VAR"
echo "variable value ${{ env.MY_VAR }}"

0 comments on commit 1cbfbc8

Please sign in to comment.