mirror of
https://github.com/EpicMorg/atlassian-downloader.git
synced 2025-01-14 20:57:56 +03:00
Create dotnet-master.yml
This commit is contained in:
parent
afa6e1adc1
commit
364af10699
32
.github/workflows/dotnet-master.yml
vendored
Normal file
32
.github/workflows/dotnet-master.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
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: Setup .NET
|
||||||
|
uses: actions/setup-dotnet@v1
|
||||||
|
with:
|
||||||
|
dotnet-version: 5.0.1
|
||||||
|
- 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
|
Loading…
x
Reference in New Issue
Block a user