actions: add trivial matrix example (#912)
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/912 Reviewed-by: Gusted <gusted@noreply.code.forgejo.org> Co-authored-by: Earl Warren <contact@earl-warren.org> Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
parent
47f50d3257
commit
15cfe2f55c
2 changed files with 13 additions and 1 deletions
12
actions/example-matrix/.forgejo/workflows/test.yml
Normal file
12
actions/example-matrix/.forgejo/workflows/test.yml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: docker
|
||||
name: name-${{ matrix.version }}
|
||||
strategy:
|
||||
matrix:
|
||||
version: [1.18, 1.19]
|
||||
steps:
|
||||
- run: |
|
||||
set -x
|
||||
test "${{ matrix.version }}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue