Skip to content

chore: update dependency dotnet-sdk to v6.0.428 (#184) #698

chore: update dependency dotnet-sdk to v6.0.428 (#184)

chore: update dependency dotnet-sdk to v6.0.428 (#184) #698

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- windows-latest
- ubuntu-latest
env:
DOTNET_NOLOGO: "true"
DOTNET_CLI_TELEMETRY_OPTOUT: "true"
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "true"
steps:
- name: ⏬ Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 🔽 Setup dotnet from global.json
uses: actions/setup-dotnet@v3
- name: 🔍 Print dotnet info
run: dotnet --info
- name: 🔽 Restore
run: dotnet restore -p:Configuration=Release
- name: 🔨 Build
run: dotnet build --configuration Release
- name: 🧪 Test
run: dotnet test --no-build --configuration Release
- name: 📦 Pack
run: dotnet pack --configuration Release --no-build
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: 🔼 Upload packages as artifact
uses: actions/upload-artifact@v3
if: ${{ matrix.os == 'ubuntu-latest' }}
with:
name: nuget
path: artifacts/nuget/
- name: 🔼 Upload global.json as artifact
uses: actions/upload-artifact@v3
if: ${{ matrix.os == 'ubuntu-latest' }}
with:
name: global-json
path: global.json