Skip to content

Commit

Permalink
Fix workflow having some windows steps disabled for win-signing
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-wh committed Oct 16, 2024
1 parent 226e11b commit 1c420de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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}}
Expand Down

0 comments on commit 1c420de

Please sign in to comment.