act/pkg/runner/testdata/parallel/push.yml
Casey Lee f7252cbcf9
add commands support
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:42 -05:00

29 lines
632 B
YAML

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://ubuntu:18.04
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