Skip to content

Commit

Permalink
no gitversion 🥲
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanRynne committed May 8, 2024
1 parent 1be25c5 commit 713c713
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
fetch-depth: 0
- name: Setup MsBuild
uses: microsoft/setup-msbuild@v2
dotnet-version: 7.x.x
- uses: actions/cache@v4
id: cache
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
- name: NuGet Restore
run: msbuild DUI3-DX.slnf -t:Restore /p:RestoreLockedMode=true /p:Configuration=Release /p:IsDesktopBuild=false
- name: Restore projects
run: dotnet restore DUI3-DX.slnf -c Release --locked-mode
- name: Build
run: msbuild DUI3-DX.slnf /p:Configuration=Release /p:IsDesktopBuild=false -v:m
- name: Upload artifacts
Expand Down
8 changes: 3 additions & 5 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@

<PropertyGroup Label="Package Config">
<!-- Version info -->

<Version Condition="$(Version) == ''">2.0.999-local</Version>
<FileVersion Condition="$(FileVersion) == ''">2.0.999.0000</FileVersion>
<AssemblyVersion Condition="$(AssemblyVersion) == ''">$(FileVersion)</AssemblyVersion>

<!-- Package info -->
<PackageVersion Condition="$(PackageVersion) == ''">$(Version)</PackageVersion>
Expand All @@ -127,10 +129,6 @@
<RepositoryRoot>$(MSBuildThisFileDirectory)</RepositoryRoot>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="GitVersion.MsBuild" Version="5.12.0" PrivateAssets="All"/>
</ItemGroup>

<ItemGroup>
<!-- This file contains the configuration for some analyzer warnings, such as cyclomatic
complexity threshold -->
Expand Down

0 comments on commit 713c713

Please sign in to comment.