Skip to content

Commit

Permalink
Restricted environment matrix test but it's weird syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
PathogenDavid committed Sep 1, 2021
1 parent 5a94b44 commit 298c5fa
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/matrix-environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Restricted Environment Test (Matrix)
on: [workflow_dispatch]
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
environment:
- os: ubuntu-18.04
environment: "environment: TestEnvironment"
name: Test Job - ${{matrix.os}} (${{matrix.environment}})
runs-on: ubuntu-latest
${{matrix.environment}}
steps:
- name: Do the thing
run: echo "Hello, world!"

0 comments on commit 298c5fa

Please sign in to comment.