Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

Replace Gitter with GitHub Discussions #516

Replace Gitter with GitHub Discussions

Replace Gitter with GitHub Discussions #516

Workflow file for this run

name: Build and tests
on: [push, pull_request]
jobs:
# Build
Build:
name: Build
runs-on: windows-latest
steps:
- name: Get the sources
uses: actions/checkout@v2
- name: Fetch all tags and branches
run: git fetch --prune --unshallow
- name: Install .NET
uses: actions/setup-dotnet@v3
with:
# .NET 5 required for GitVersion
dotnet-version: |
5.x
6.x
7.x
- name: Build
run: .\build.ps1
shell: powershell
- name: Publish NuGet package as build artifact
uses: actions/upload-artifact@v2
with:
name: NuGet Package
path: ./BuildArtifacts/Packages/NuGet/
# Integration Tests Windows (.NET Core tool)
Test_Windows_DotNetCoreTool:
name: Integration Tests Windows (.NET Core tool)
needs: Build
runs-on: windows-latest
steps:
- name: Get the sources
uses: actions/checkout@v2
- name: Download build artifact
uses: actions/download-artifact@v2
with:
name: NuGet Package
path: ./BuildArtifacts/Packages/NuGet
- name: Install .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.x
- name: Run integration tests
run: ./build.ps1 --verbosity=diagnostic
working-directory: ./tests/integration/
shell: powershell