[+] UgcGenerator新增extraHeaders参数,用于在UGC中添加自定义的头字段 #41
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 | |