30 lines
638 B
YAML
30 lines
638 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 angular-cli
|
||
|
test2:
|
||
|
runs-on: ubuntu-latest
|
||
|
needs: [build]
|
||
|
steps:
|
||
|
- run: echo hello
|
||
|
- run: echo world
|