Add support for runs-on array form (closes #146) (#155)

* Add support for runs-on array form (closes #146)

* Fixed style issues

Co-authored-by: Casey Lee <cplee@nektos.com>
This commit is contained in:
Aidan Steele
2020-03-17 08:58:10 +11:00
committed by GitHub
parent fea9a8afa5
commit 4a4bd36cf6
3 changed files with 60 additions and 14 deletions

View File

@@ -8,3 +8,17 @@ jobs:
- 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