Skip to content

Bump actions/setup-dotnet from 4.1.0 to 4.2.0 #988

Bump actions/setup-dotnet from 4.1.0 to 4.2.0

Bump actions/setup-dotnet from 4.1.0 to 4.2.0 #988

Workflow file for this run

name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main, dotnet-vnext ]
jobs:
build:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ]
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup .NET SDK
uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0
- name: Setup Node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: '20'
- name: Build, Test and Publish
shell: pwsh
run: ./build.ps1
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: 1
NUGET_XMLDOC_MODE: skip
TERM: xterm
- name: Publish screenshots
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
if: ${{ always() }}
with:
name: screenshots-${{ matrix.os }}
path: ./artifacts/screenshots/*.png
if-no-files-found: ignore
- name: Publish videos
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
if: ${{ always() }}
with:
name: videos-${{ matrix.os }}
path: ./artifacts/videos/*
if-no-files-found: ignore