fix #134 - support 'env' context in steps

This commit is contained in:
Casey Lee
2020-03-06 13:39:01 -08:00
parent 4fde7d8865
commit 87392c2ed7
4 changed files with 14 additions and 4 deletions

View File

@@ -1,10 +1,19 @@
name: basic
on: push
env:
TEST: value
jobs:
check:
runs-on: ubuntu-latest
steps:
- run: echo ${{ env.TEST }} | grep value
- run: env
- uses: docker://alpine:3.8
with:
somekey: ${{ env.TEST }}
args: echo ${INPUT_SOMEKEY} | grep somevalue
- run: ls
- run: echo 'hello world'
- run: echo ${GITHUB_SHA} >> /github/sha.txt