From 40d6b1d78f8d0a3572dee8156bf2c5807799d392 Mon Sep 17 00:00:00 2001 From: Shay Rojansky Date: Thu, 18 Jun 2020 01:29:27 +0200 Subject: [PATCH] Pack nugets with Github Actions Also add SourceLink --- .github/workflows/build.yml | 9 +++++++++ Directory.Build.props | 8 +++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 30cb806..22f681b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/Directory.Build.props b/Directory.Build.props index 0d468cc..024d698 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,8 +1,10 @@  - - 8.0 - true + true + snupkg + + +