From 422d86035164041c6d664ec35e11f0ca21f753b6 Mon Sep 17 00:00:00 2001 From: Lamparter <71598437+Lamparter@users.noreply.github.com> Date: Sun, 2 Feb 2025 14:26:53 +0000 Subject: [PATCH 1/3] Add conditional package reference [skip ci] Signed-off-by: Lamparter <71598437+Lamparter@users.noreply.github.com> --- .../Riverside.JsonBinder.Console.csproj | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Riverside.JsonBinder.Console/Riverside.JsonBinder.Console.csproj b/src/Riverside.JsonBinder.Console/Riverside.JsonBinder.Console.csproj index 13386f3..e089dd7 100644 --- a/src/Riverside.JsonBinder.Console/Riverside.JsonBinder.Console.csproj +++ b/src/Riverside.JsonBinder.Console/Riverside.JsonBinder.Console.csproj @@ -15,4 +15,13 @@ + + + + + + + + + From c2eeef11bfe46637fb38491a81bb7f09d4534672 Mon Sep 17 00:00:00 2001 From: Lamparter <71598437+Lamparter@users.noreply.github.com> Date: Sun, 2 Feb 2025 14:28:47 +0000 Subject: [PATCH 2/3] Add deterministic build to MSBuild properties [skip ci] Signed-off-by: Lamparter <71598437+Lamparter@users.noreply.github.com> --- Directory.Build.props | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Directory.Build.props b/Directory.Build.props index f9437c0..14b8179 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -18,4 +18,9 @@ $(DisplayVersion)-$(ReleaseLevel)$(BetaVersion) $(DisplayVersion) - \ No newline at end of file + + + + true + + From e37f27802b41d7db046bac94938fd45e63350b3b Mon Sep 17 00:00:00 2001 From: Lamparter <71598437+Lamparter@users.noreply.github.com> Date: Sun, 2 Feb 2025 14:32:21 +0000 Subject: [PATCH 3/3] Add ` /p:GITHUB_ACTIONS=true` argument to CI run Signed-off-by: Lamparter <71598437+Lamparter@users.noreply.github.com> --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17c6400..01f9260 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,10 +26,10 @@ jobs: dotnet-version: '9.0.x' - name: Restore dependencies - run: dotnet restore + run: dotnet restore /p:GITHUB_ACTIONS=true - name: Build - run: dotnet build --configuration ${{ matrix.configuration }} --no-restore + run: dotnet build --configuration ${{ matrix.configuration }} --no-restore /p:GITHUB_ACTIONS=true test: name: Test @@ -52,4 +52,4 @@ jobs: dotnet-version: '9.0.x' - name: Test - run: dotnet test --configuration Release --verbosity normal \ No newline at end of file + run: dotnet test --configuration Release --verbosity normal /p:GITHUB_ACTIONS=true