Skip to content

Fix target

Fix target #2

Workflow file for this run

name: Build & Test
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
env:
PROJECT_NAME: PhotoManager/PhotoManager.sln
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Display .NET version
run: dotnet --info
- name: Restore dependencies
run: dotnet restore $PROJECT_NAME
- name: Build
run: dotnet build $PROJECT_NAME --no-restore
- name: Test
run: dotnet test $PROJECT_NAME --no-build --verbosity normal