Skip to content

Commit

Permalink
fix(workflow): framework targeting & etc
Browse files Browse the repository at this point in the history
  • Loading branch information
cherrynik committed Nov 21, 2023
1 parent 8c102f7 commit 63fa4a3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
with:
with:
submodules: recursive
token: ${{ secrets.PAT_TOKEN }}

Expand All @@ -22,6 +24,9 @@ jobs:
with:
dotnet-version: 8.0.x

- name: Restore tools
run: dotnet tool restore

- name: Restore dependencies
run: dotnet restore

Expand All @@ -34,4 +39,4 @@ jobs:
run: dotnet test --no-build --verbosity normal

- name: Run
run: dotnet run --project ./src/Apps/GameDesktop/GameDesktop.csproj -c Release -p:DefineConstants=IS_CI
run: dotnet run --project ./src/Apps/GameDesktop/GameDesktop.csproj --framework net8.0 -c Release -p:DefineConstants=IS_CI

0 comments on commit 63fa4a3

Please sign in to comment.