actions-test/.github/workflows/hello.yml
2020-03-29 03:24:10 +02:00

37 lines
714 B
YAML

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
max-parallel: 1
matrix:
hello: [AAA, CCC, EEE]
include:
- hello: AAA
bye: BBB
wait: true
- hello: CCC
key: DDD
- hello: EEE
bye: FFF
steps:
- uses: actions/checkout@v2
- name: Run a one-line script
run: echo HELLO ${{matrix.hello}} and BYE ${{matrix.bye}}
- name: Wait
if: matrix.wait
run: sleep 20
- name: Run again
run: echo HELLO ${{matrix.hello}} and BYE ${{matrix.bye}}