Skip to content

Commit 226cfbc

Browse files
committed
Test signed build
1 parent f9285c9 commit 226cfbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,15 @@ jobs:
9292
.github/scripts/sonarqube-analysis.sh
9393
9494
- name: Build Unsigned
95-
if: ${{ github.ref_name != 'master' && !startsWith(github.ref_name, 'branch-') && !startsWith(github.ref_name, 'sign-') }}
95+
if: ${{ github.ref_name == 'master' || startsWith(github.ref_name, 'branch-') || startsWith(github.ref_name, 'sign-') }}
9696
shell: bash
9797
env:
9898
BUILD_NUMBER: ${{ steps.build_number.outputs.build_number }}
9999
run: |
100100
msbuild.exe "SonarQube.VisualStudio.sln" -p:VsVersion=17.0 -p:VsTargetVersion=2022 -p:SignArtifacts=false -p:DeployExtension=false -p:Sha1="${GITHUB_SHA}" -p:BuildNumber="${BUILD_NUMBER}" -p:Configuration=Release
101101
102102
- name: Build Signed
103-
if: ${{ github.ref_name == 'master' || startsWith(github.ref_name, 'branch-') || startsWith(github.ref_name, 'sign-') }}
103+
# if: ${{ github.ref_name == 'master' || startsWith(github.ref_name, 'branch-') || startsWith(github.ref_name, 'sign-') }}
104104
shell: bash
105105
env:
106106
SM_API_KEY: ${{ fromJSON(steps.secrets.outputs.vault).SM_API_KEY }}

0 commit comments

Comments
 (0)