From f4425370da7d947f9baf513ba5ae174be1aa53e5 Mon Sep 17 00:00:00 2001 From: Kazuki Ota Date: Sun, 20 Mar 2022 00:09:17 +0900 Subject: [PATCH] update build pipeline for sourcelink --- .github/workflows/build-and-publish.yml | 2 +- .gitignore | 1 + Source/SharedProperties.csproj | 4 +++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index b0ab1ea6..9ac22796 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -44,7 +44,7 @@ jobs: - name: Install dependencies run: dotnet restore ReactiveProperty.sln - name: Build - run: dotnet build ReactiveProperty.sln -c Release + run: dotnet build ReactiveProperty.sln -c Release /p:ContinuousIntegrationBuild=True /p:EmbedUntrackedSources=True - name: Test run: dotnet test ReactiveProperty.sln --no-restore --verbosity normal - name: Copy package files diff --git a/.gitignore b/.gitignore index 1785c1cd..6e486ead 100644 --- a/.gitignore +++ b/.gitignore @@ -119,3 +119,4 @@ BuildTools/*.nupkg project.lock.json /.vs UpgradeLog.htm +*.AssemblyAttributes diff --git a/Source/SharedProperties.csproj b/Source/SharedProperties.csproj index 07dbbdf3..e5488170 100644 --- a/Source/SharedProperties.csproj +++ b/Source/SharedProperties.csproj @@ -13,16 +13,18 @@ git 10.0 true + true true snupkg true README.md - + +