Skip to content

Commit

Permalink
Updated .NET references to .NET 8.
Browse files Browse the repository at this point in the history
  • Loading branch information
metaljase committed Mar 13, 2024
1 parent 4ec0859 commit 6d2e50a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ on:
env:
ConsoleApp_NS: Metalhead.SharesGainLossTracker.ConsoleApp
ConsoleApp_EXE: SharesGainLossTracker.ConsoleApp
ConsoleApp_TF: net6.0
ConsoleApp_TF: net8.0
WpfApp_NS: Metalhead.SharesGainLossTracker.WpfApp
WpfApp_EXE: SharesGainLossTracker.WpfApp
WpfApp_TF: net6.0-windows
WpfApp_TF: net8.0-windows7.0

jobs:
build-console-app:
Expand All @@ -23,7 +23,7 @@ jobs:
- name: Install .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: Restore dependencies
run: dotnet restore ${{ env.ConsoleApp_NS }}/${{ env.ConsoleApp_NS }}.csproj
Expand All @@ -41,7 +41,7 @@ jobs:
- name: Install .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: Execute unit test
run: dotnet test
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
- name: Install .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: Restore dependencies
run: dotnet restore ${{ env.WpfApp_NS }}/${{ env.WpfApp_NS }}.csproj
Expand All @@ -124,7 +124,7 @@ jobs:
- name: Install .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: Execute unit tests
run: dotnet test
Expand All @@ -139,7 +139,7 @@ jobs:
- name: Install .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: Create ClickOnce ${{ env.WpfApp_NS }}.exe (win-x64 self-contained)
run: dotnet publish ${{ env.WpfApp_NS }}/${{ env.WpfApp_NS }}.csproj -c Release -r win-x64 --self-contained -p:PublishSingleFile=true -p:DebugType=None -p:DebugSymbols=false
Expand Down

0 comments on commit 6d2e50a

Please sign in to comment.