Merge pull request #36 from RoboSchmied/RoboSchmied-AGfixT99 #52
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: .NET Core CI/CD | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
tags: | |
- v* | |
paths: | |
- '**' | |
- '!**.md' | |
pull_request: | |
paths: | |
- '**' | |
- '!**.md' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ windows-latest ] | |
dotnet-version: [ 3.1 ] | |
include: | |
- dotnet-version: 3.1 | |
dotnet-sdk-version: 3.1.100 | |
env: | |
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | |
NUGET_XML_DOC_MODE: skip | |
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET Core on ${{ matrix.os }} platform, dotnet version ${{ matrix.dotnet-version }} | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: ${{ matrix.dotnet-sdk-version }} | |
- name: Build Release Debug | |
run: dotnet build -c Debug GB28181.Solution.sln | |
- name: Build Solution Release | |
run: dotnet build -c Release GB28181.Solution.sln |