shared container for job
This commit is contained in:
parent
a3af4d491b
commit
12ac7300b9
10 changed files with 444 additions and 531 deletions
11
act/runner/testdata/basic/push.yml
vendored
11
act/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}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue