chore: Cleanup csproj file #17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [windows-latest, windows-11-arm] | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| arch: ${{ matrix.os == 'windows-latest' && 'x64' || (matrix.os == 'windows-11-arm' && 'arm64' || 'unknown') }} | |
| 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: Install Task | |
| uses: arduino/setup-task@v2 | |
| - name: Build SyncTrayzor (Portable) | |
| run: task build-portable | |
| - name: Upload portable dist | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: SyncTrayzorPortable-${{ env.arch }} | |
| path: ./dist/ | |
| - name: Build SyncTrayzor Installer | |
| run: task build-installer | |
| - name: Upload installer dist | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: SyncTrayzorSetup-${{ env.arch }}.exe | |
| path: ./installer/SyncTrayzorSetup-${{ env.arch }}.exe |