From ae57ee6bfa6864fdf43e15154ad2135fe7b8c474 Mon Sep 17 00:00:00 2001 From: cherrynik Date: Tue, 21 Nov 2023 13:11:07 +0300 Subject: [PATCH] chore: test --- .github/workflows/dotnet.yml | 16 +++++++++------- src/Apps/GameDesktop/GameDesktop.csproj | 8 ++++---- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index ee528d8..ad1aeb0 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -7,13 +7,15 @@ on: [ push ] jobs: Build: - strategy: - matrix: - os: [ ubuntu-latest, windows-latest ] - runs-on: ${{ matrix.os }} + # strategy: + # matrix: + # os: [ ubuntu-latest, windows-latest ] + + runs-on: ubuntu-latest # ${{ matrix.os }} + steps: - uses: actions/checkout@v3 - with: + with: submodules: recursive token: ${{ secrets.PAT_TOKEN }} @@ -23,7 +25,7 @@ jobs: dotnet-version: 8.0.x - name: Restore dependencies - run: dotnet restore + run: dotnet tool restore; dotnet restore - name: Build run: dotnet build --no-restore @@ -34,4 +36,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 diff --git a/src/Apps/GameDesktop/GameDesktop.csproj b/src/Apps/GameDesktop/GameDesktop.csproj index 1968d52..6c4b7f3 100644 --- a/src/Apps/GameDesktop/GameDesktop.csproj +++ b/src/Apps/GameDesktop/GameDesktop.csproj @@ -81,8 +81,8 @@ Matcher.resx - - - - + + + + \ No newline at end of file