Update NkxToolRunner.cs #48
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 NkxToolUI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| - develop | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET SDK | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - name: Display .NET info | |
| run: dotnet --info | |
| - name: Restore | |
| run: dotnet restore NkxToolUI.csproj | |
| - name: Build | |
| run: dotnet build NkxToolUI.csproj --configuration Release --no-restore | |
| - name: Publish | |
| run: dotnet publish NkxToolUI.csproj --configuration Release --no-build --output publish | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: NkxToolUI-win-x64 | |
| path: publish/** |