Skip to content

Update test.yaml

Update test.yaml #2

Workflow file for this run

name: Matrix Test
on:
push:
jobs:
build-matrix:
runs-on: windows-latest
defaults:
run:
shell: powershell
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Matrix
run: |
$params = Get-Content -Path ./params.txt
echo $params
$persons = $params.split("|")
foreach ($person in $persons)
{
$attributes = $person.split(",")
foreach ($attribute in $attributes)
{
# Split the key from the value
$keyAndValue = $attribute.split("=")
$key = $keyAndValue[0]
$value = $keyAndValue[1]
if($key.ToLower() -eq "alias")
{
echo "Testing the following person: $value"
}
}
}