From 713c713124dd86fa6d86e1db0f6c606dcfc28af5 Mon Sep 17 00:00:00 2001 From: Alan Rynne Date: Thu, 9 May 2024 00:44:46 +0200 Subject: [PATCH] =?UTF-8?q?no=20gitversion=20=F0=9F=A5=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dotnet.yml | 10 +++++----- Directory.Build.props | 8 +++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 57d70c7b5c..e3804c0eca 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -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 diff --git a/Directory.Build.props b/Directory.Build.props index e141103ba4..e3c324a43a 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -107,7 +107,9 @@ - + 2.0.999-local + 2.0.999.0000 + $(FileVersion) $(Version) @@ -127,10 +129,6 @@ $(MSBuildThisFileDirectory) - - - -