From e4d9c4ae66f0e8255cd361f66737457afbf2bdff Mon Sep 17 00:00:00 2001 From: Frank van der Stam Date: Sun, 3 Mar 2024 15:43:10 +0100 Subject: [PATCH] Minor naming changes, setting up build and artifact upload for CliTimer --- .github/workflows/build.yml | 14 +++++++++++++- SoulSplitter.sln | 4 ++-- src/cli/cli.csproj | 2 +- src/clitimer/clitimer.csproj | 2 +- 4 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cb5434a2..f46de707 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,6 +48,7 @@ jobs: run: | New-Item -Path .\.sonar\scanner -ItemType Directory dotnet tool update dotnet-sonarscanner --tool-path .\.sonar\scanner + - name: Build and analyze env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any @@ -58,4 +59,15 @@ jobs: dotnet test -p:CollectCoverage=true -p:CoverletOutputFormat=opencover .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" - + - name: Build CliTimer + shell: powershell + run: dotnet build src\CliTimer\CliTimer.csproj --release + + - name: Publish CliTimer + - uses: actions/upload-artifact@v4 + with: + name: CliTimer + path: | + src\CliTimer\bin\release\net481\CliTimer.exe + src\CliTimer\bin\release\net481\CliTimer.exe.config + src\CliTimer\bin\release\net481\SoulMemory.dll \ No newline at end of file diff --git a/SoulSplitter.sln b/SoulSplitter.sln index 787947c5..df95f5f2 100644 --- a/SoulSplitter.sln +++ b/SoulSplitter.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.0.32014.148 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "cli", "src\cli\cli.csproj", "{93CF6900-8F5C-4364-9EAF-8992B883361B}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cli", "src\Cli\Cli.csproj", "{93CF6900-8F5C-4364-9EAF-8992B883361B}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SoulMemory", "src\SoulMemory\SoulMemory.csproj", "{03480F4F-F423-4144-90C6-CBDA68269374}" EndProject @@ -48,7 +48,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SoulMemory.Tests", "tests\S EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SoulSplitter.Tests", "tests\SoulSplitter.Tests\SoulSplitter.Tests.csproj", "{13D6FF7F-E774-424C-940C-C76FF98D8916}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "clitimer", "src\clitimer\clitimer.csproj", "{F7482938-4DEE-4BEB-BBA7-D9AE696404F3}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CliTimer", "src\CliTimer\CliTimer.csproj", "{F7482938-4DEE-4BEB-BBA7-D9AE696404F3}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/src/cli/cli.csproj b/src/cli/cli.csproj index 1cafaa36..7ef3731a 100644 --- a/src/cli/cli.csproj +++ b/src/cli/cli.csproj @@ -5,7 +5,7 @@ x64 x64 true - cli + Cli https://github.com/FrankvdStam/SoulSplitter https://github.com/FrankvdStam/SoulSplitter git diff --git a/src/clitimer/clitimer.csproj b/src/clitimer/clitimer.csproj index 59d698c4..a8de3e20 100755 --- a/src/clitimer/clitimer.csproj +++ b/src/clitimer/clitimer.csproj @@ -5,7 +5,7 @@ x64 x64 false - clitimer + CliTimer https://github.com/FrankvdStam/SoulSplitter https://github.com/FrankvdStam/SoulSplitter git