Skip to content

Merge pull request #2 from CHG-MERIDIAN/feature/FirstImplementation #9

Merge pull request #2 from CHG-MERIDIAN/feature/FirstImplementation

Merge pull request #2 from CHG-MERIDIAN/feature/FirstImplementation #9

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: Build (and release)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 1.17
- name: Get the sources
uses: actions/checkout@v3
- name: Fetch all history for all tags and branches
run: git fetch --prune --unshallow
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
- name: Run Cake script
uses: cake-build/cake-action@v1
with:
verbosity: Verbose
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
SONAR_LOGIN: ${{ secrets.SONAR_LOGIN_SQLITEPERSISTENCE }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}