Update Sonar.yml #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |