From b0df662f133f0831a53a7e0206a28cda9d199e36 Mon Sep 17 00:00:00 2001 From: Hannele Ruiz Date: Tue, 7 Jun 2022 23:19:36 -0400 Subject: [PATCH] Patch the csproj version --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cbd36985..ca4f553b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,6 +16,11 @@ jobs: uses: microsoft/setup-msbuild@v1.1 - name: Restore NuGet Packages run: nuget restore ${{ github.event.repository.name }}.sln + - name: Patch csproj version + uses: justalemon/VersionPatcher@ff473034af090907184812b731fc3bc1a272b308 + with: + version: 1.7.0.${{ github.run_number }} + csproj-files: "**/**.csproj" - name: Compile working-directory: ${{ env.GITHUB_WORKSPACE }} run: msbuild -m -p:Configuration=${{ matrix.configuration }} ${{ github.event.repository.name }}.sln