Add new build scripts #47
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: Generic build | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| tags-ignore: | |
| - '**' | |
| env: | |
| DOTNET_EnableDiagnostics: 0 | |
| DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | |
| DOTNET_NOLOGO: true | |
| DOTNET_CLI_TELEMETRY_OPTOUT: true | |
| DOTNET_GENERATE_ASPNET_CERTIFICATE: false | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/[email protected] | |
| - name: Setup .NET Core 9.0 | |
| uses: actions/[email protected] | |
| with: | |
| dotnet-version: '9.0.x' | |
| - name: Build | |
| shell: pwsh | |
| run: | | |
| ./Scripts/Build.ps1 |