From e65a01759d7452d3d4165af97a7c9c3f39f679fb Mon Sep 17 00:00:00 2001 From: Kleinrotti <39203164+Kleinrotti@users.noreply.github.com> Date: Sun, 13 Oct 2024 01:04:16 +0200 Subject: [PATCH] updated workflows --- .github/workflows/release.yml | 10 +++++++--- .github/workflows/tests.yml | 10 +++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b3cf04..8c923cc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Restore dependencies run: dotnet restore src/Signer/Signer.csproj @@ -32,10 +32,14 @@ jobs: (Get-Content $file).replace($find, $replace) | Set-Content $file - name: Build windows-x64 - run: dotnet publish src/Signer/Signer.csproj -p:PublishProfile=win-x64 + run: | + dotnet publish src/AuthenticodeExaminer/AuthenticodeExaminer.csproj -p:PublishProfile=win-x64 + dotnet publish src/Signer/Signer.csproj -p:PublishProfile=win-x64 - name: Build windows-x86 - run: dotnet publish src/Signer/Signer.csproj -p:PublishProfile=win-x86 + run: | + dotnet publish src/AuthenticodeExaminer/AuthenticodeExaminer.csproj -p:PublishProfile=win-x86 + dotnet publish src/Signer/Signer.csproj -p:PublishProfile=win-x86 - name: compress files run: | diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a8a2541..f858953 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,9 +18,11 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Restore dependencies - run: dotnet restore src/Signer.Tests/Signer.Tests.csproj + run: | + dotnet restore src/AuthenticodeExaminer/AuthenticodeExaminer.Tests.csproj + dotnet restore src/Signer.Tests/Signer.Tests.csproj - name: Decode test pfx run: | @@ -35,7 +37,9 @@ jobs: # Execute all unit tests in the solution - name: Execute unit tests - run: dotnet test src/Signer.Tests/Signer.Tests.csproj + run: | + dotent test src/AuthenticodeExaminer/AuthenticodeExaminer.Tests.csproj + dotnet test src/Signer.Tests/Signer.Tests.csproj # Remove the pfx