From 298c5fa754635042686d7737b451c19f8e12ed16 Mon Sep 17 00:00:00 2001 From: David Maas Date: Wed, 1 Sep 2021 00:30:56 -0500 Subject: [PATCH] Restricted environment matrix test but it's weird syntax --- .github/workflows/matrix-environment.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/matrix-environment.yml diff --git a/.github/workflows/matrix-environment.yml b/.github/workflows/matrix-environment.yml new file mode 100644 index 0000000..c7b4953 --- /dev/null +++ b/.github/workflows/matrix-environment.yml @@ -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!"