File tree Expand file tree Collapse file tree 3 files changed +25
-2
lines changed Expand file tree Collapse file tree 3 files changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -10,3 +10,5 @@ indent_style = space
1010indent_size = 4
1111trim_trailing_whitespace = true
1212
13+ [* .yml ]
14+ indent_size = 2
Original file line number Diff line number Diff line change 2525 run : dotnet fsi scripts/test-files-are-importable-by-msbuild.fsx
2626 - name : Show NuGet package content
2727 run : unzip -l nupkg/*.nupkg
28+ nupkg :
29+ name : Generate NuGet Packages
30+ runs-on : ubuntu-latest
31+ steps :
32+ - uses : actions/checkout@v3
33+ - uses : actions/setup-dotnet@v3
34+ name : Install Current .NET SDK
35+ - name : Generate NuGet Packages
36+ run : dotnet pack --configuration Release --output nupkg
37+ - uses : actions/upload-artifact@v3
38+ if : success() && github.ref == 'refs/heads/main'
39+ with :
40+ name : nupkg
41+ path : nupkg/*
42+ retention-days : 1
Original file line number Diff line number Diff line change 44 <Authors >Messerli Informatik AG</Authors >
55 <PackageLicenseExpression >MIT OR Apache-2.0</PackageLicenseExpression >
66 <PackageProjectUrl >https://github.com/messerli-informatik-ag/code-style</PackageProjectUrl >
7- <RepositoryType >git</RepositoryType >
8- <RepositoryUrl >https://github.com/messerli-informatik-ag/code-style</RepositoryUrl >
97 <Copyright >© Messerli Informatik AG. All rights reserved.</Copyright >
108 </PropertyGroup >
9+ <PropertyGroup Label =" Deterministic Builds and Source Link" >
10+ <PublishRepositoryUrl >true</PublishRepositoryUrl >
11+ <ContinuousIntegrationBuild Condition =" '$(GITHUB_ACTIONS)' == 'true'" >true</ContinuousIntegrationBuild >
12+ <EmbedUntrackedSources >true</EmbedUntrackedSources >
13+ </PropertyGroup >
14+ <ItemGroup Label =" Deterministic Builds and Source Link" >
15+ <PackageReference Include =" Microsoft.SourceLink.GitHub" PrivateAssets =" all" Version =" [1.1.1]" />
16+ </ItemGroup >
1117</Project >
You can’t perform that action at this time.
0 commit comments