Skip to content

Commit

Permalink
Pack nugets with Github Actions
Browse files Browse the repository at this point in the history
Also add SourceLink
  • Loading branch information
roji committed Jun 17, 2020
1 parent d5511c6 commit 40d6b1d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,12 @@ jobs:

- name: Test
run: dotnet test

- name: Pack
run: dotnet pack --configuration Release --output nupkgs -p:ContinuousIntegrationBuild=true

- name: Upload artifacts
uses: actions/upload-artifact@v1
with:
name: EFCore.NamingConventions
path: nupkgs
8 changes: 5 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<Project>

<PropertyGroup>
<LangVersion>8.0</LangVersion>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>
</Project>

0 comments on commit 40d6b1d

Please sign in to comment.