File tree 3 files changed +25
-2
lines changed 3 files changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -10,3 +10,5 @@ indent_style = space
10
10
indent_size = 4
11
11
trim_trailing_whitespace = true
12
12
13
+ [* .yml ]
14
+ indent_size = 2
Original file line number Diff line number Diff line change 25
25
run : dotnet fsi scripts/test-files-are-importable-by-msbuild.fsx
26
26
- name : Show NuGet package content
27
27
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 4
4
<Authors >Messerli Informatik AG</Authors >
5
5
<PackageLicenseExpression >MIT OR Apache-2.0</PackageLicenseExpression >
6
6
<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 >
9
7
<Copyright >© Messerli Informatik AG. All rights reserved.</Copyright >
10
8
</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 >
11
17
</Project >
You can’t perform that action at this time.
0 commit comments