Skip to content

Update windows.yml

Update windows.yml #77

Workflow file for this run

name: Run initPC on ${{ matrix.os }}

Check failure on line 1 in .github/workflows/windows.yml

View workflow run for this annotation

GitHub Actions / Run initPC on ${{ matrix.os }}

Invalid workflow file

The workflow is not valid. .github/workflows/windows.yml (Line: 1, Col: 7): Unrecognized named-value: 'matrix'. Located at position 1 within expression: matrix.os
on:
push:
branches: [ "devel", "testing", "stable", "minimal" ]
paths:
- 'CommonInitScripts/*.ps1'
- '.github/workflows/windows.yml'
- 'Windows_10/*.ps1'
pull_request:
branches: [ "devel", "testing", "stable", "minimal" ]
paths:
- 'CommonInitScripts/*.ps1'
- '.github/workflows/windows.yml'
- 'Windows_10/*.ps1'
jobs:
build:
name: Run initPC on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
continue-on-error: true
strategy:
matrix:
os: [windows-latest, windows-2019]
steps:
- name: "checkout repo"
uses: actions/checkout@v4
- name: "Install `winget`"
shell: powershell
run: choco install winget
- name: "Run `packages_install.ps1` separatelly (so that it does not pollute logs)"
shell: powershell
run: .\Windows_10\packages_install.ps1
- name: "Run `run_all.ps1`"
shell: powershell
run: .\Windows_10\run_all.ps1