Skip to content

Commit 33cf8c4

Browse files
authoredAug 16, 2020
Make healthy sourcelink nupkgs
1 parent 118fa32 commit 33cf8c4

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed
 

‎.github/workflows/on-push.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,8 @@ jobs:
6262
dotnet-version: '3.1.x'
6363
source-url: https://nuget.pkg.github.com/icsharpcode/index.json
6464

65-
- name: Build library for .NET Standard 2
66-
run: dotnet build -c Release -f netstandard2 src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj
67-
- name: Build library for .NET Framework 4.5
68-
run: dotnet build -c Release -f net45 src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj
69-
70-
- name: Create nuget package
71-
run: dotnet pack src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj --configuration Release --output dist /p:ContinuousIntegrationBuild=true /p:Version=$(git describe --abbrev | % { $_.substring(1) })
65+
- name: Build and pack
66+
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
7267

7368
- name: Upload nuget package artifact
7469
uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)
Please sign in to comment.