shared container for job
This commit is contained in:
11
pkg/runner/testdata/basic/push.yml
vendored
11
pkg/runner/testdata/basic/push.yml
vendored
@@ -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}}
|
||||
|
Reference in New Issue
Block a user