Skip to content

cross_repo_ci

cross_repo_ci #747

Workflow file for this run

name: Develop Build
on:
workflow_dispatch:
repository_dispatch:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout MQTTnet fork
uses: actions/checkout@v3
with:
repository: WildernessLabs/MQTTnet
path: MQTTnet
ref: meadow
- name: Checkout Meadow.Core
uses: actions/checkout@v3
with:
path: Meadow.Core # we have to put this in a sub-folder so we can pull Contracts/Units to a parent folder
- name: Checkout Meadow.Contracts
uses: actions/checkout@v3
with:
repository: WildernessLabs/Meadow.Contracts
path: Meadow.Contracts
ref: develop
- name: Checkout Meadow.Units
uses: actions/checkout@v3
with:
repository: WildernessLabs/Meadow.Units
path: Meadow.Units
ref: develop
- name: Checkout Meadow.Logging
uses: actions/checkout@v3
with:
repository: WildernessLabs/Meadow.Logging
path: Meadow.Logging
ref: develop
- name: Checkout Meadow.Modbus
uses: actions/checkout@v3
with:
repository: WildernessLabs/Meadow.Modbus
path: Meadow.Modbus
ref: develop
- name: Setup .NET SDK
uses: actions/setup-dotnet@v1
with:
dotnet-version:
7.0.x
- name: apply required VS workloads
run: dotnet workload restore Meadow.Core/source/Meadow.Core.sln
- name: Build Meadow.Core
run: dotnet build -c Release Meadow.Core/source/Meadow.Core.sln