shared container for job

This commit is contained in:
Casey Lee 2020-02-23 15:01:25 -08:00
parent a3af4d491b
commit 12ac7300b9
10 changed files with 444 additions and 531 deletions

View file

@ -5,9 +5,12 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- run: echo 'hello world'
- run: echo 'hello world'
- run: echo ${GITHUB_SHA} >> /github/sha.txt
- run: cat /github/sha.txt | grep ${GITHUB_SHA}
build:
if: false
runs-on: ubuntu-latest
needs: [check]
steps:
@ -20,4 +23,8 @@ jobs:
steps:
- uses: docker://ubuntu:18.04
with:
args: echo ${GITHUB_REF} | grep nektos/act
args: env
- uses: docker://ubuntu:18.04
with:
entrypoint: /bin/echo
args: ${{github.event_name}}