Skip to content

Commit

Permalink
updated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Kleinrotti committed Oct 12, 2024
1 parent c44a997 commit e65a017
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit e65a017

Please sign in to comment.