diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml deleted file mode 100644 index 702cd77..0000000 --- a/.github/workflows/dotnet-desktop.yml +++ /dev/null @@ -1,61 +0,0 @@ -name: .NET Core Desktop - -# why no work - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -jobs: - - build: - - strategy: - matrix: - configuration: [Debug, Release] - - runs-on: windows-latest - - env: - Solution_Name: ${{ github.workspace }}/ZincBrowser.sln - Test_Project_Path: ${{ github.workspace }}/ZincBrowser/ZincBrowser.csproj - Output_Directory: ${{ github.workspace }}/ZincBrowser/bin/${{ matrix.configuration }} - - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Install .NET Core - uses: actions/setup-dotnet@v4 - with: - dotnet-version: 8.0.x - - - name: Setup MSBuild.exe - uses: microsoft/setup-msbuild@v2 - - - name: Execute unit tests - run: dotnet test ${{ env.Test_Project_Path }} - - - name: Restore the application - run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration - env: - Configuration: ${{ matrix.configuration }} - - # If you have a signing certificate and want to sign the application, add signing steps here - - - name: Build the application - run: msbuild $env:Solution_Name /p:Configuration=$env:Configuration - env: - Configuration: ${{ matrix.configuration }} - - # If you have specific post-build steps, add them here - - - name: Upload build artifacts - uses: actions/upload-artifact@v3 - with: - name: Build Artifacts - path: ${{ env.Output_Directory }}