-
-
Notifications
You must be signed in to change notification settings - Fork 50
27 lines (21 loc) · 778 Bytes
/
intellicode.yml
File metadata and controls
27 lines (21 loc) · 778 Bytes
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
name: Microsoft Train IntelliCode Model
on:
push:
branches:
- dev # IntelliCode recommends training on master branch to increase your model availability. Switch to another branch if you'd like to reduce update frequency.
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # We need to fetch the entire Git history in order to verify the authenticity.
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
- name: Build with dotnet
working-directory: LogViewer.Server
run: dotnet build # Project needs to build before training a model.
- name: Train Intellicode Model
uses: microsoft/vs-intellicode@v1