Disable DebugSymbols and DebugType for Release configuration #162
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-master | |
| on: | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| name: build-master | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET Core | |
| uses: actions/setup-dotnet@v3.2.0 | |
| with: | |
| dotnet-version: 9.0.200 | |
| - name: Prep packages | |
| run: dotnet nuget add source --username ziagham --password ${{ secrets.GH_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/${{github.repository_owner}}/index.json" | |
| - name: Build | |
| run: dotnet build --configuration Release | |
| - name: Test | |
| run: dotnet test --configuration Release --no-build |