Skip to content

Commit

Permalink
use dotnet.reprobuilds only when in release mode due to impact on sou…
Browse files Browse the repository at this point in the history
…rce directory location
  • Loading branch information
baronfel committed Jan 29, 2023
1 parent 392f30f commit 4684c10
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build and test

on:
on:
push:
branches:
- main
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:

jobs:
release:
env:
IsRelease: true

runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<ItemGroup>
<PackageReference Include="Ionide.KeepAChangelog.Tasks" Version="0.1.8" />
<PackageReference Include="Dotnet.ReproducibleBuilds" Version="1.1.1" />
<PackageReference Condition="'$(IsRelease)' == 'true'" Include="Dotnet.ReproducibleBuilds" Version="1.1.1" />
</ItemGroup>

</Project>

0 comments on commit 4684c10

Please sign in to comment.