test: workflow

This commit is contained in:
Bill Church 2022-07-29 09:46:04 -04:00 committed by GitHub
parent 7209bb9324
commit fe80e6a97e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,10 +20,19 @@ jobs:
- name: 'get sha' - name: 'get sha'
run: | run: |
git rev-parse --short ${{ inputs.tag }} mysha=$(git rev-parse ${{ inputs.tag }})
export MYSHA=$(git rev-parse ${{ inputs.tag }}) echo "MYSHA=$mysha" >> $GITHUB_ENV
- name: env - name: env
run: 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'