Skip to content

Commit

Permalink
Build: stop building the installer when running CodeQL
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Feb 10, 2025
1 parent 89e190d commit 5f34217
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- cron: "0 0 * * 0"
workflow_dispatch:

env:
CI_CODEQL: true

jobs:
analyze:
name: Analyze
Expand Down
4 changes: 3 additions & 1 deletion build.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@ECHO OFF
REM Copyright (C) 2011-2015, 2017, 2019-2022 XhmikosR
REM Copyright (C) 2011-2015, 2017, 2019-2022, 2025 XhmikosR
REM
REM This program is free software: you can redistribute it and/or modify
REM it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -94,6 +94,8 @@ CALL "%VS_PATH%\Common7\Tools\VsDevCmd.bat" -arch=amd64
CALL :SUBMSVC %BUILDTYPE% x64

IF /I "%BUILDTYPE%" == "Clean" GOTO END
IF "%CI_CODEQL%" == "true" GOTO END

CALL "setup\build_installer.bat"


Expand Down

0 comments on commit 5f34217

Please sign in to comment.