feat: 新增角色控制状态参数 IsPlayerControlling,并更新相关文档 #241
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, develop ] | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| permissions: | |
| contents: read | |
| packages: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '10.x' | |
| - name: Configure NuGet authentication | |
| run: dotnet nuget update source Duckov-Custom-Model --username Duckov-Custom-Model --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| env: | |
| CI: true | |
| GITHUB_ACTIONS: true | |
| - name: Build | |
| run: dotnet build --configuration Release --no-restore | |
| env: | |
| CI: true | |
| GITHUB_ACTIONS: true | |
| - name: Test (if any) | |
| run: dotnet test --configuration Release --no-build --verbosity normal | |
| continue-on-error: true | |
| - name: Upload Build Artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: DuckovCustomModel | |
| path: DuckovCustomModel/bin/Release/netstandard2.1 | |
| retention-days: 7 | |