Skip to content

Removed working directory flag #4

Removed working directory flag

Removed working directory flag #4

Workflow file for this run

name: .NET Core Desktop
on: [ push, pull_request ]
#branches: [ "main" ]
# pull_request:
# branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
env:
Source_Dir: ./src/
Configuration: Release
Solution_Path: ./src/Extended.Collections.sln
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Restore Dotnet Tools
run: dotnet tool restore
- name: Run Git Version
run: |
dotnet-gitversion
echo Semantic Version: ${GitVersion_SemVer}
- name: Build
run: dotnet build ${Solution_Path}
- name: Execute unit tests
run: dotnet test ${Solution_Path}
- name: Restore the application
run: dotnet msbuild ${Solution_Path} -t:Restore