From 63fa4a391bd4a7b2b177f35a2a3adbcb1575d6ce Mon Sep 17 00:00:00 2001 From: cherrynik Date: Tue, 21 Nov 2023 13:11:07 +0300 Subject: [PATCH] fix(workflow): framework targeting & etc --- .github/workflows/dotnet.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index ee528d8..4d6a710 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -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 }} @@ -22,6 +24,9 @@ jobs: with: dotnet-version: 8.0.x + - name: Restore tools + run: dotnet tool restore + - name: Restore dependencies run: dotnet restore @@ -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 \ No newline at end of file + run: dotnet run --project ./src/Apps/GameDesktop/GameDesktop.csproj --framework net8.0 -c Release -p:DefineConstants=IS_CI \ No newline at end of file