From fe80e6a97e81ff11f79bfe1820972feaa1e4a770 Mon Sep 17 00:00:00 2001 From: Bill Church Date: Fri, 29 Jul 2022 09:46:04 -0400 Subject: [PATCH] test: workflow --- .github/workflows/action-test.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/action-test.yml b/.github/workflows/action-test.yml index 20e6145..df2af24 100644 --- a/.github/workflows/action-test.yml +++ b/.github/workflows/action-test.yml @@ -20,10 +20,19 @@ jobs: - name: 'get sha' run: | - git rev-parse --short ${{ inputs.tag }} - export MYSHA=$(git rev-parse ${{ inputs.tag }}) + mysha=$(git rev-parse ${{ inputs.tag }}) + echo "MYSHA=$mysha" >> $GITHUB_ENV - name: env run: env +steps: + - name: Set the value + id: step_one + run: | + echo "action_state=yellow" >> $GITHUB_ENV + - name: Use the value + id: step_two + run: | + echo "${{ env.action_state }}" # This will output 'yellow' \ No newline at end of file