Update test-win-latest.yml
Fix strategy issue
@@ -12,23 +12,17 @@ on:
schedule:
- cron: 0 2 * * 1-5
-parameters:
- archs: ["Win32","x64"]
- configs: ["Release","Debug"]
-
jobs:
- build:
-
- runs-on: [windows-latest]
+ test:
+ name: Test on Windows ${{ matrix.arch }}-${{ matrix.config }}
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ arch: [Win32, x64]
+ config: [Release, Debug]
+ os: [windows-latest]
steps:
- uses: actions/checkout@v1
- - name: build
- run: build-tests.bat $(archName) $(configName)
- strategy:
- matrix:
- ${{ each arch in parameters.archs }}:
- ${{ each config in parameters.configs }}:
- ${{ format('{0}{1}', arch, config) }}:
- archName: ${{ arch }}
- configName: ${{ config }}
+ - name: Test ${{ matrix.arch }} ${{ matrix.config }}
+ run: build-tests.bat ${{ matrix.arch }} ${{ matrix.config }}
