shared container for job

This commit is contained in:
Casey Lee
2020-02-23 15:01:25 -08:00
parent 9179d8924d
commit 01876438c2
11 changed files with 445 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}}

View File

@@ -6,7 +6,6 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- run: which node
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with: