summaryrefslogtreecommitdiffstats
path: root/pkg/runner/testdata/parallel/push.yml
blob: c949d3d2c04da05db7bd41b0c4e6b0ceb42a9280 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: basic
on: push

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - 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:16-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