From 7e903e685dbf157ce09f843f32a99aa05e788581 Mon Sep 17 00:00:00 2001 From: Kuan Fan Date: Wed, 27 Dec 2023 15:48:39 -0800 Subject: [PATCH] try env print --- .github/workflows/temp.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/temp.yaml b/.github/workflows/temp.yaml index 5d095536a..c1c4ff446 100644 --- a/.github/workflows/temp.yaml +++ b/.github/workflows/temp.yaml @@ -8,13 +8,10 @@ jobs: create-variable: runs-on: ubuntu-latest - outputs: - envvar: ${{ steps.set-env-variable.outputs.envvar }} - steps: - name: Set Environment Variable id: set-env-variable - run: echo "envvar=Hello" >> $GITHUB_ENV + run: echo "envvar=Hello" >> $GITHUB_OUTPUT show-variable: needs: create-variable @@ -23,4 +20,4 @@ jobs: steps: - name: Display Environment Variable run: | - echo "Environment Variable: ${{ needs.create-variable.outputs.envvar }}" \ No newline at end of file + echo "Environment Variable: ${{ jobs.create-variable.steps.set-env-variable.outputs.envvar }}" \ No newline at end of file