From 1c420de1a2fce36a6fada95bdfddeeec1c19fc99 Mon Sep 17 00:00:00 2001 From: simon-wh Date: Wed, 16 Oct 2024 15:21:37 +0200 Subject: [PATCH] Fix workflow having some windows steps disabled for win-signing --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a9c8a6c..ad69f6f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: run: cd mac && make CDEFS="-Werror" - name: Build (Windows) - if: startsWith(matrix.os, 'windows') + if: startsWith(matrix.os, 'win') working-directory: ${{env.GITHUB_WORKSPACE}} # Add additional options to the MSBuild command line here (like platform or verbosity level). # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference @@ -94,7 +94,7 @@ jobs: cp mac/*.dylib dist/ - name: Copy dist files (Windows) - if: startsWith(github.ref, 'refs/tags/v') && startsWith(matrix.os, 'windows') + if: startsWith(github.ref, 'refs/tags/v') && startsWith(matrix.os, 'win') shell: bash run: | # Copy Windows x64 files @@ -108,7 +108,7 @@ jobs: cp windows/${{env.BUILD_CONFIGURATION}}/wooting-rgb-sdk.pdb dist/ || true - name: Sign dlls (Windows) - if: startsWith(github.ref, 'refs/tags/v') && startsWith(matrix.os, 'windows') + if: startsWith(github.ref, 'refs/tags/v') && startsWith(matrix.os, 'win') shell: bash env: TIMESTAMP: ${{secrets.WIN_EV_CSC_TIMESTAMP}}