From 884c0d5bdd1bdeb76015a927d2c027632d90a1ce Mon Sep 17 00:00:00 2001 From: "Wu, Ganhao" Date: Thu, 23 Dec 2021 17:48:15 +0800 Subject: [PATCH] Fix yaml syntax. --- .github/workflows/nuget.yml | 2 -- .github/workflows/tag.yml | 2 -- .github/workflows/windows.yml | 20 ++------------------ 3 files changed, 2 insertions(+), 22 deletions(-) diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml index c8412b49..817a59b7 100644 --- a/.github/workflows/nuget.yml +++ b/.github/workflows/nuget.yml @@ -5,8 +5,6 @@ on: pull_request jobs: build: runs-on: windows-latest - strategy: - matrix: steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index f8a87ad9..ff743f57 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -5,8 +5,6 @@ on: pull_request jobs: build: runs-on: windows-latest - strategy: - matrix: steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index ece0372b..0bf2a92f 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -9,27 +9,11 @@ jobs: matrix: # windows-2016 and windows-2019 have MSVC 2017 and 2019 installed # respectively: https://github.com/actions/virtual-environments. - os: [windows-2016, windows-2019] + os: [windows-2019, windows-latest] platform: [Win32, x64] build_type: [Debug, Release] standard: [11, 17, 20] - include: - - os: windows-2016 - platform: Win32 - build_type: Debug - shared: -DBUILD_SHARED_LIBS=ON - exclude: - - os: windows-2016 - platform: Win32 - - os: windows-2016 - standard: 17 - - os: windows-2016 - standard: 20 - - os: windows-2019 - standard: 11 - - os: windows-2019 - standard: 20 - platform: Win32 + shared: [ -DBUILD_SHARED_LIBS=ON ] steps: - uses: actions/checkout@v2