Files
autogen/.github/workflows/dotnet-build-test-packages.yml
Kosta Petan 7a183e2e07 Initial dotnet CI (#203)
* basic CI WIP

* change authors to Microsoft

* add Aspire workload

* artificial commit to trigger workflow

* only publish packages if on main branch

* comment out the publishing jobs

* Remove publish from main dotnet CI workflow
2024-07-18 11:00:09 -07:00

25 lines
572 B
YAML

name: '[AGNext nuget] Build and test'
on:
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: dotnet
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Install .NET Aspire workload
run: dotnet workload install aspire
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal