File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 75
75
dotnet-version : ' 3.1.x'
76
76
source-url : https://nuget.pkg.github.com/icsharpcode/index.json
77
77
78
- - name : Build and pack
79
- run : dotnet build -c Release -o dist /p:ContinuousIntegrationBuild=true /p:EmbedUntrackedSources=true /p:Version=$(git describe --abbrev | % { $_.substring(1) }) src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj
78
+ - name : Build library for .NET Standard 2.0
79
+ run : dotnet build -c Release -f netstandard2.0 /p:ContinuousIntegrationBuild=true src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj
80
+ - name : Build library for .NET Standard 2.1
81
+ run : dotnet build -c Release -f netstandard2.1 /p:ContinuousIntegrationBuild=true src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj
82
+ - name : Build library for .NET Framework 4.5
83
+ run : dotnet build -c Release -f net45 /p:ContinuousIntegrationBuild=true src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj
84
+
85
+ - name : Create nuget package
86
+ run : dotnet pack src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj --configuration Release --output dist /p:ContinuousIntegrationBuild=true /p:EmbedUntrackedSources=true /p:Version=$(git describe --abbrev | % { $_.substring(1) })
80
87
81
88
- name : Upload nuget package artifact
82
89
uses : actions/upload-artifact@v2
You can’t perform that action at this time.
0 commit comments