Skip to content

Commit

Permalink
Disable Intellicode workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
GGG-KILLER committed Jan 22, 2024
1 parent 616cc8e commit 77de951
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions .github/workflows/test-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,26 +65,27 @@ jobs:
}
shell: pwsh

train:
name: Intellicode Train
runs-on: windows-latest
needs: [build]
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
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
uses: actions/setup-dotnet@v2
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
include-prerelease: true
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Train Intellicode Model
uses: microsoft/vs-intellicode@v1
# TODO: Fix when I can be bothered to.
# train:
# name: Intellicode Train
# runs-on: windows-latest
# needs: [build]
# if: github.event_name == 'push' && github.ref == 'refs/heads/master'
# 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
# uses: actions/setup-dotnet@v2
# with:
# dotnet-version: |
# 6.0.x
# 7.0.x
# 8.0.x
# include-prerelease: true
# - name: Install dependencies
# run: dotnet restore
# - name: Build
# run: dotnet build --configuration Release --no-restore
# - name: Train Intellicode Model
# uses: microsoft/vs-intellicode@v1

0 comments on commit 77de951

Please sign in to comment.