Change namespace to MinimalCli #36
Workflow file for this run
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: PR-Checks | |
| on: | |
| pull_request: | |
| # Runs on all branches so they share a github.run_number increment | |
| branches: [ '*' ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 8.0.x | |
| - name: Restore dependencies | |
| run: dotnet restore src/MinimalCli.sln | |
| - name: Build Minimal CommandLine | |
| run: dotnet build src/MinimalCli.sln -c Release --no-restore | |
| - name: Build HelloWorld Demo | |
| run: dotnet build src/HelloWorld/HelloWorld.csproj -c Release --no-restore | |
| - name: Test HelloWorld Demo | |
| run: dotnet run --project src/HelloWorld/HelloWorld.csproj --no-build --no-restore -c Release -- "My Message" --first-option "Test1" --second-option "Test2" |