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:
30
30
run : |
31
31
dotnet restore ${{ env.SOLUTION_PATH }}
32
32
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
+
33
40
- name : ' Build project using dotnet'
34
41
shell : pwsh
35
42
run : |
36
43
dotnet build ${{ env.SOLUTION_PATH }} `
37
44
--no-restore `
38
45
--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
+ }
40
56
41
57
- name : ' Pack project'
42
58
shell : pwsh
You can’t perform that action at this time.
0 commit comments