Skip to content

Commit e92c172

Browse files
[Out-of-process-collection] Fix NuGet package validation by enabling deterministic builds in CI (open-telemetry#4375)
Fix NuGet package validation by enabling deterministic builds in CI
1 parent 0ff77d4 commit e92c172

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release-nextgen-forwarder-packages.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
run: dotnet restore
4646

4747
- name: Build projects
48-
run: dotnet build --no-restore --configuration Release
48+
run: dotnet build --no-restore --configuration Release /p:ContinuousIntegrationBuild=true
4949

5050
- name: Run tests
5151
run: dotnet test --no-build --configuration Release --verbosity normal
@@ -63,7 +63,8 @@ jobs:
6363
/p:PackageVersion=${{ inputs.version }} `
6464
/p:AssemblyVersion=${{ inputs.version }} `
6565
/p:FileVersion=${{ inputs.version }} `
66-
/p:Version=${{ inputs.version }}
66+
/p:Version=${{ inputs.version }} `
67+
/p:ContinuousIntegrationBuild=true
6768
6869
- name: Pack OpenTelemetry.OutOfProcess.Forwarder.Configuration
6970
run: |
@@ -74,7 +75,8 @@ jobs:
7475
/p:PackageVersion=${{ inputs.version }} `
7576
/p:AssemblyVersion=${{ inputs.version }} `
7677
/p:FileVersion=${{ inputs.version }} `
77-
/p:Version=${{ inputs.version }}
78+
/p:Version=${{ inputs.version }} `
79+
/p:ContinuousIntegrationBuild=true
7880
7981
- name: Install dotnet-validate
8082
run: dotnet tool install --global dotnet-validate --version 0.0.1-preview.304

0 commit comments

Comments
 (0)