Skip to content

Bump actions/setup-dotnet from 4 to 5 #575

Bump actions/setup-dotnet from 4 to 5

Bump actions/setup-dotnet from 4 to 5 #575

Workflow file for this run

name: dotnet build
on:
push:
branches: [ main, live ]
pull_request:
branches: [ main, live ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: 8.x
- name: Restore dependencies
working-directory: user-auth/GraphTutorial/
run: dotnet restore
- name: Build
working-directory: user-auth/GraphTutorial/
run: dotnet build --no-restore
- name: Restore dependencies
working-directory: app-auth/GraphAppOnlyTutorial/
run: dotnet restore
- name: Build
working-directory: app-auth/GraphAppOnlyTutorial/
run: dotnet build --no-restore