Skip to content

Commit fa58dc7

Browse files
committed
fix: Enable deterministic builds in GitHub Actions workflow
- Added `/p:ContinuousIntegrationBuild=true` to the `dotnet build` command to ensure deterministic builds.
1 parent 5a32cfc commit fa58dc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- uses: actions/checkout@v4
4646
- uses: actions/setup-dotnet@v4
4747
# build and pack
48-
- run: dotnet build -c Release -p:Version=${{ needs.create-release.outputs.new_release_version }}
48+
- run: dotnet build -c Release /p:ContinuousIntegrationBuild=true -p:Version=${{ needs.create-release.outputs.new_release_version }}
4949
- run: dotnet pack ./src/LocalPortFiltering.AspNetCore/LocalPortFiltering.AspNetCore.csproj -c Release --no-build -p:Version=${{ needs.create-release.outputs.new_release_version }} -o ./publish
5050
# Store artifacts.
5151
- uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)