Skip to content

Commit 298c5fa

Browse files
committed
Restricted environment matrix test but it's weird syntax
1 parent 5a94b44 commit 298c5fa

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Restricted Environment Test (Matrix)
2+
on: [workflow_dispatch]
3+
jobs:
4+
build:
5+
strategy:
6+
fail-fast: false
7+
matrix:
8+
include:
9+
- os: ubuntu-latest
10+
environment:
11+
- os: ubuntu-18.04
12+
environment: "environment: TestEnvironment"
13+
name: Test Job - ${{matrix.os}} (${{matrix.environment}})
14+
runs-on: ubuntu-latest
15+
${{matrix.environment}}
16+
steps:
17+
- name: Do the thing
18+
run: echo "Hello, world!"

0 commit comments

Comments
 (0)