File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : .NET build and test
2+ on : push
3+ jobs :
4+ continuous-integration :
5+ name : Build and test
6+ runs-on : ${{ matrix.os }}
7+ strategy :
8+ matrix :
9+ os : [ubuntu-latest, windows-latest]
10+ permissions :
11+ contents : read
12+ issues : read
13+ checks : write
14+ pull-requests : write
15+ steps :
16+ - name : .NET CI
17+ uses : brianary/dotnet-ci@v1
18+ with :
19+ test-target : test
Original file line number Diff line number Diff line change 1+ name : Publish module to PowerShell Gallery
2+ on :
3+ workflow_run :
4+ workflows : [".NET build and test"]
5+ types : [completed]
6+ branches : [main]
7+ jobs :
8+ publish :
9+ name : Publish to PowerShell Gallery
10+ runs-on : windows-latest
11+ steps :
12+ - name : Publish module
13+ uses : brianary/powershell-gallery-publish@v1
14+ with :
15+ gallery-key : ${{ secrets.gallerykey }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11. * /
2+ ! .github /
23! .template.config /
34bin /
45obj /
Original file line number Diff line number Diff line change 44 <TargetFramework >netstandard2.0</TargetFramework >
55 <GenerateAssemblyInfo >true</GenerateAssemblyInfo >
66 <GenerateDocumentationFile >true</GenerateDocumentationFile >
7- <PublishTrimmed >true</PublishTrimmed >
7+ <PublishTrimmed >false</PublishTrimmed >
8+ <PublishSingleFile >false</PublishSingleFile >
89 </PropertyGroup >
910
1011 <ItemGroup >
4142 <Target Name =" Pester" DependsOnTargets =" Publish" Condition =" '$(Configuration)' == 'Debug'" >
4243 <Copy SourceFiles =" $(OutputPath)\publish\FSharp.Core.dll"
4344 DestinationFolder =" $(OutputPath)" />
44- <Exec Command =' pwsh -noni -nop -c "cd ..\..; Invoke-Pester"'
45+ <Exec Command =' pwsh -noni -nop -c "cd ..\..; Invoke-Pester -Configuration @{TestResult=@{Enabled=!0}} "'
4546 IgnoreExitCode =" true" IgnoreStandardErrorWarningFormat =" true" />
46- <Exec Command =' powershell -noni -nop -c "cd ..\..; Invoke-Pester"'
47+ <Exec Command =' powershell -noni -nop -c "cd ..\..; Invoke-Pester -Configuration @{TestResult=@{Enabled=!0}} "'
4748 IgnoreExitCode =" true" IgnoreStandardErrorWarningFormat =" true" Condition =" '$(OS)' == 'Windows_NT' " />
4849 </Target >
4950
You can’t perform that action at this time.
0 commit comments