Skip to content

Fix condition for checking cloned repository #16

Fix condition for checking cloned repository

Fix condition for checking cloned repository #16

Workflow file for this run

name: Build and test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ '*' ]
env:
working-directory: Sources
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_NOLOGO: true
dotnet-version: 8.0.x
jobs:
build:
runs-on: windows-latest
defaults:
run:
working-directory: ${{ env.working-directory }}
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.dotnet-version }}
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release --no-restore --verbosity normal
- name: Test
run: dotnet test -c Release --no-build --verbosity normal