diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml new file mode 100644 index 0000000..cbf2331 --- /dev/null +++ b/.github/workflows/dotnet-desktop.yml @@ -0,0 +1,27 @@ +name: dotnet package + +on: [push] + +jobs: + build: + + runs-on: windows-latest + strategy: + matrix: + dotnet-version: ['7.0.x' ] + + steps: + - uses: actions/checkout@v3 + - name: Setup .NET Core SDK ${{ matrix.dotnet-version }} + uses: actions/setup-dotnet@v3 + with: + dotnet-version: ${{ matrix.dotnet-version }} + - name: Install dependencies + run: dotnet restore + - name: Build + run: dotnet build --configuration Release --no-restore + - name: Archive build results + uses: actions/upload-artifact@v2 + with: + name: build-result + path: Game_of_Life\bin\