We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8572b2 commit 4faa099Copy full SHA for 4faa099
1 file changed
.github/workflows/build.yml
@@ -23,6 +23,10 @@ jobs:
23
steps:
24
- name: Checkout
25
uses: actions/checkout@v6
26
+ with:
27
+ # Fetch full history and all tags so build.cmd can run `git describe`
28
+ fetch-depth: 0
29
+ fetch-tags: true
30
31
- name: Add MSBuild to PATH
32
uses: microsoft/setup-msbuild@v3
@@ -69,17 +73,10 @@ jobs:
69
73
exit 1
70
74
}
71
75
72
- - name: Run MSBuild with Code Analysis
76
+ - name: Build using build.cmd
77
+ shell: pwsh
78
run: |
- $msbuildArgs = @(
- "ColorCop.sln"
- "/p:Configuration=${{ matrix.configuration }}"
- "/p:Platform=Win32"
- "/p:RunCodeAnalysis=true"
79
- "/p:CodeAnalysisRuleSet=NativeMinimumRules.ruleset"
80
- "/p:CodeAnalysisTreatWarningsAsErrors=false"
81
- )
82
- MSBuild.exe $msbuildArgs
+ ./build.cmd
83
84
- name: Download VC++ Redistributable
85
shell: pwsh
0 commit comments