backport
This commit is contained in:
STAM 2021-01-13 18:50:47 +03:00 committed by GitHub
commit d49422c22e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 59 additions and 0 deletions

31
.github/workflows/dotnet-develop.yml vendored Normal file
View File

@ -0,0 +1,31 @@
name: develop
on:
pull_request:
branches:
- '*'
tags:
- '*'
push:
branches:
- 'develop'
jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: Restore dependencies
run: |
cd src
dotnet restore
- name: Build
run: |
cd src
dotnet build --no-restore
- name: Test
run: |
cd src
dotnet test --no-build --verbosity normal

28
.github/workflows/dotnet-master.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: master
on:
push:
branches:
- 'master'
schedule:
- cron: '00 00 * * 6' # At 12:00 AM, only on Saturday
jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: Restore dependencies
run: |
cd src
dotnet restore
- name: Build
run: |
cd src
dotnet build --no-restore
- name: Test
run: |
cd src
dotnet test --no-build --verbosity normal