Skip to content

Commit

Permalink
Setup deterministic build
Browse files Browse the repository at this point in the history
  • Loading branch information
legigor committed Jan 26, 2024
1 parent a6b811e commit 2e0bff1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: dotnet package

on: [push, pull_request]

env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
CI_BUILD: true

jobs:
build:
name: Build
Expand Down
6 changes: 5 additions & 1 deletion src/AzureMutex/AzureMutex.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
</PropertyGroup>

<PropertyGroup Condition="'$(CI_BUILD)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Azure.Storage.Blobs" />
</ItemGroup>
Expand All @@ -25,4 +29,4 @@
<PackageTags>azure mutex distributed lock async</PackageTags>
</PropertyGroup>

</Project>
</Project>

0 comments on commit 2e0bff1

Please sign in to comment.