-
Notifications
You must be signed in to change notification settings - Fork 15
40 lines (30 loc) · 1013 Bytes
/
official.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: official
# Full build along with artifact publishing
on:
push:
# Build on any new push to the master branch
branches: [ master ]
schedule:
# * is a special character in YAML so you have to quote this string
# Create one build every month even if there are no new checkins to work around expiring artifacts from older builds
- cron: '0 0 1 * *'
workflow_dispatch:
# Allows you to run this workflow manually from the Actions tab
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1
- name: Setup NuGet
uses: NuGet/setup-nuget@v1.0.5
- name: Restore Packages
run: nuget restore SyncKusto.sln
- name: Build Solution
run: msbuild.exe SyncKusto.sln /p:Configuration=Release
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: published
path: SyncKusto/bin/Release