一部の言語環境で日光を正しく読み込まれない問題に対応 (#193) #568
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, pull_request] | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| if: > | |
| github.event_name == 'push' || | |
| github.event.pull_request.head.repo.full_name != github.repository | |
| strategy: | |
| matrix: | |
| Configuration: [Debug, Release] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup .Net 8 | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 8.x.x | |
| - name: Clean | |
| run: dotnet clean X4_ComplexCalculator.sln --configuration ${{ matrix.Configuration }} && dotnet nuget locals all --clear | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build -c ${{ matrix.Configuration }} --no-restore | |
| - name: Test | |
| run: dotnet test | |
| - name: Upload build artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: X4_ComplexCalculator-${{ matrix.Configuration }}-${{ github.sha }} | |
| path: X4_ComplexCalculator/bin/${{ matrix.Configuration }}/net8.0-windows7.0 |