Skip to content

Bump martincostello/update-dotnet-sdk from 3.5.0 to 3.8.1 (#535) #1093

Bump martincostello/update-dotnet-sdk from 3.5.0 to 3.8.1 (#535)

Bump martincostello/update-dotnet-sdk from 3.5.0 to 3.8.1 (#535) #1093

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@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
- name: Setup Node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.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@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: ${{ always() }}
with:
name: screenshots-${{ matrix.os }}
path: ./artifacts/screenshots/*.png
if-no-files-found: ignore
- name: Publish videos
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: ${{ always() }}
with:
name: videos-${{ matrix.os }}
path: ./artifacts/videos/*
if-no-files-found: ignore