Skip to content

Print mono information during Actions builds #77

Print mono information during Actions builds

Print mono information during Actions builds #77

Workflow file for this run

name: xUnit.net Analyzers PR Build
on:
- pull_request
- workflow_dispatch
jobs:
build:
name: "Build"
runs-on: ${{ matrix.os }}
env:
DOTNET_NOLOGO: true
strategy:
fail-fast: false
matrix:
os: [windows-2022, ubuntu-22.04, macOS-12]
steps:
- name: Clone source
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- name: Replace global.json
run: cp .github/workflows/.global.json global.json
shell: bash
- name: Install .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
- name: Get .NET information
run: dotnet --info
- name: Get Mono information
run: mono --version
if: ${{ matrix.os != 'windows-2022' }}
- name: "Build target: BuildAll"
run: dotnet run --project tools/builder --no-launch-profile -- BuildAll
- name: "Upload artifact: test-${{ matrix.os }}"
uses: actions/[email protected]
with:
name: test-${{ matrix.os }}
path: artifacts/test
if: always()