Skip to content

Update Sonar.yml

Update Sonar.yml #9

name: BuildReplication
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: check out commons
uses: actions/checkout@v2
with:
repository: equipognoss/Gnoss.Commons.OpenCORE
path: ./Gnoss.Commons
ref: main
- name: change folder
run: |
cd ..
mv Gnoss.BackgroundTask.Replication.OpenCORE/Gnoss.Commons Gnoss.Commons
cd Gnoss.BackgroundTask.Replication.OpenCORE
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore