actions-test/.github/workflows/hello.yml

32 lines
618 B
YAML
Raw Normal View History

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
- hello: CCC
key: DDD
- hello: EEE
bye: FFF
steps:
- uses: actions/checkout@v2
- name: Run a one-line script
2020-03-29 03:14:36 +02:00
run: |
echo HELLO ${{matrix.hello}} and BYE ${{matrix.bye}}
sleep 20
echo HELLO ${{matrix.hello}} and BYE ${{matrix.bye}}