Merge pull request #918 from warrenbuckley/dependabot/npm_and_yarn/Lo… #589
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: 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 |