2020-03-29 03:05:53 +02:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
2020-03-29 03:14:36 +02:00
|
|
|
fail-fast: true
|
2020-03-29 03:15:45 +02:00
|
|
|
max-parallel: 1
|
2020-03-29 03:05:53 +02:00
|
|
|
matrix:
|
|
|
|
hello: [AAA, CCC, EEE]
|
|
|
|
include:
|
|
|
|
- hello: AAA
|
|
|
|
bye: BBB
|
2020-03-29 03:24:10 +02:00
|
|
|
wait: true
|
2020-03-29 03:05:53 +02:00
|
|
|
- hello: CCC
|
|
|
|
key: DDD
|
|
|
|
- hello: EEE
|
|
|
|
bye: FFF
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Run a one-line script
|
2020-03-29 03:24:10 +02:00
|
|
|
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}}
|