summaryrefslogtreecommitdiffstats
path: root/pkg/runner/testdata/runs-on/push.yml
blob: f6ecedb00dd971b344f1ec1df34c75cbb82ee2bb (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
name: runs-on
on: push

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
    - run: env
    - run: echo ${GITHUB_ACTOR} 
    - run: echo ${GITHUB_ACTOR} | grep nektos/act

  many:
    runs-on: [ubuntu-latest]
    steps:
      - run: env
      - run: echo ${GITHUB_ACTOR}
      - run: echo ${GITHUB_ACTOR} | grep nektos/act

  selfmany:
    runs-on: [self-hosted, ubuntu-latest]
    steps:
      - run: env
      - run: echo ${GITHUB_ACTOR}
      - run: echo ${GITHUB_ACTOR} | grep nektos/act