Skip to content

Initial check-in for OneBranch pipelines #545

Initial check-in for OneBranch pipelines

Initial check-in for OneBranch pipelines #545

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.400
- name: Build
shell: pwsh
run: |
Import-Module ./build.psm1 -Force
Start-Build -Verbose
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.400
- name: Build
shell: pwsh
run: |
Import-Module ./build.psm1 -Force
Start-Build -Verbose
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.400
- name: Build
shell: pwsh
run: |
Import-Module ./build.psm1 -Force
Start-Build -Verbose