Skip to content

Merge pull request #17 from dina-heidar/main #18

Merge pull request #17 from dina-heidar/main

Merge pull request #17 from dina-heidar/main #18

Workflow file for this run

name: Build
on:
pull_request:
branches: [ main, dev ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
BUILD_CONFIG: Release
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: Clean
run: dotnet clean -c $BUILD_CONFIG && dotnet nuget locals all --clear
- name: Install Dependencies
run: dotnet restore
- name: Build
run: dotnet build -c $BUILD_CONFIG --no-restore