File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,29 @@ jobs:
3030 run : |
3131 dotnet restore ${{ env.SOLUTION_PATH }}
3232
33+ - name : ' Resolve sn.exe location'
34+ id : find-snexe
35+ shell : pwsh
36+ run : |
37+ $SnExeLocation = ./build/findvstool.ps1 -ToolName 'sn.exe'
38+ "path=$SnExeLocation" >> $Env:GITHUB_OUTPUT
39+
3340 - name : ' Build project using dotnet'
3441 shell : pwsh
3542 run : |
3643 dotnet build ${{ env.SOLUTION_PATH }} `
3744 --no-restore `
3845 --configuration ${{ env.BUILD_CONFIGURATION }} `
39- -p:ContinuousIntegrationBuild=true
46+ -p:ContinuousIntegrationBuild=true `
47+ "-p:Allure_SnExePath=${{ steps.find-snexe.outputs.path }}"
48+
49+ - name : Verify assembly strong names
50+ shell : pwsh
51+ run : |
52+ $SnExe = "${{ steps.find-snexe.outputs.path }}"
53+ Get-ChildItem "./*/bin/${{ env.BUILD_CONFIGURATION }}/*/Allure.*.dll" -Exclude "Allure.SpecFlow*","Allure.Xunit*" | ForEach-Object {
54+ & $SnExe -vf $_.FullName
55+ }
4056
4157 - name : ' Pack project'
4258 shell : pwsh
You can’t perform that action at this time.
0 commit comments