act/pkg/runner/testdata/parallel/push.yml

30 lines
639 B
YAML
Raw Normal View History

name: basic
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: ./actions/action1
with:
args: echo 'build'
- uses: actions/hello-world-javascript-action@master
with:
who-to-greet: 'Mona the Octocat'
test1:
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: docker://node:12-buster-slim
with:
args: echo ${GITHUB_REF} | grep nektos/act
- uses: ./actions/docker-url
with:
args: npm install -g qs
test2:
runs-on: ubuntu-latest
needs: [build]
steps:
- run: echo hello
- run: echo world