[+] README开发者指南增加,关于如何新增游戏和语法支持的信息 #25
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: [ "master" ] | |
| jobs: | |
| build_windows_cli: | |
| name: Build MuConvert.exe (win-x64) | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| fetch-tags: true | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: 10.0.x | |
| - name: Restore | |
| run: dotnet restore MuConvert.slnx | |
| - name: Publish (win-x64) | |
| run: > | |
| dotnet publish MuConvert.csproj | |
| -c Release | |
| -r win-x64 | |
| -o publish/win-x64 | |
| -p:SelfContained=true | |
| -p:UseAppHost=true | |
| -p:PublishSingleFile=true | |
| - name: Upload artifact (MuConvert.exe) | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: MuConvert.exe | |
| path: publish/win-x64/MuConvert.exe | |