From 9887b64002ac36c4c2e6eb4cf80d199b9fffac01 Mon Sep 17 00:00:00 2001 From: Chris Tacke Date: Fri, 19 Jan 2024 16:26:24 -0600 Subject: [PATCH] Create dotnet-ci.yml --- .github/workflows/dotnet-ci.yml | 53 +++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .github/workflows/dotnet-ci.yml diff --git a/.github/workflows/dotnet-ci.yml b/.github/workflows/dotnet-ci.yml new file mode 100644 index 00000000..badf55e4 --- /dev/null +++ b/.github/workflows/dotnet-ci.yml @@ -0,0 +1,53 @@ +name: Develop Build + +on: + workflow_dispatch: + pull_request: + branches: [ develop ] + push: + branches: [ develop ] + +jobs: + build: + + runs-on: windows-latest + + steps: + - name: Checkout Meadow.Logging + uses: actions/checkout@v3 + with: + repository: WildernessLabs/Meadow.Logging + path: Meadow.Logging + ref: develop + + - name: Checkout Meadow.Units + uses: actions/checkout@v3 + with: + repository: WildernessLabs/Meadow.Units + path: Meadow.Units + ref: develop + + - name: Checkout Meadow.Contracts + uses: actions/checkout@v3 + with: + path: Meadow.Contracts + ref: develop + + - name: Checkout Meadow.CLI + uses: actions/checkout@v3 + with: + path: Meadow.CLI + + - name: Setup .NET SDK + uses: actions/setup-dotnet@v1 + with: + dotnet-version: + 8.0.x + + - name: Build CLI v1 + run: dotnet build -c Release Meadow.CLI/MeadowCLI.sln + + - name: Build CLI v2 + run: dotnet build -c Release Meadow.CLI/Source/v2/Meadow.CLI.v2.sln + +