Skip to content

update

update #6

Workflow file for this run

name: Build Project
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch: ## turn available trigger manually the workflow
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x' # Adjust the version as needed
cache: true
# cache-dependency-path: ./**/packages.lock.json ## adding the path where the cache is saved
- name: Restore dependencies
run: dotnet restore
- name: Build the project
run: dotnet build --configuration Release --no-restore