Skip to content

Commit

Permalink
try env print
Browse files Browse the repository at this point in the history
  • Loading branch information
kuanfandevops committed Dec 27, 2023
1 parent a6fbf89 commit c7df7b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/temp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
runs-on: ubuntu-latest

outputs:
env-variable: ${{ steps.set-env-variable.outputs.env-variable }}
envvar: ${{ steps.set-env-variable.outputs.envvar }}

steps:
- name: Set Environment Variable
id: set-env-variable
run: echo "env-variable=Hello" >> $GITHUB_ENV
run: echo "envvar=Hello" >> $GITHUB_ENV

show-variable:
needs: create-variable
Expand All @@ -23,4 +23,4 @@ jobs:
steps:
- name: Display Environment Variable
run: |
echo "Environment Variable: ${{ needs.create-variable.outputs.env-variable }}"
echo "Environment Variable: ${{ needs.create-variable.outputs.envvar }}"

0 comments on commit c7df7b0

Please sign in to comment.