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