forked from npgsql/npgsql
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (36 loc) · 982 Bytes
/
rich-code-nav.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
41
42
43
44
name: Rich Code Navigation
on:
push:
branches:
- main
- stable
tags:
- '*'
env:
dotnet_sdk_version: '8.0.100-rc.2.23502.2'
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: NuGet Cache
uses: actions/cache@v3
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/Directory.Build.targets') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Setup .NET Core SDK
uses: actions/[email protected]
with:
dotnet-version: ${{ env.dotnet_sdk_version }}
- name: Build
run: dotnet build Npgsql.sln --configuration Debug
shell: bash
- name: Rich Navigation Indexing
uses: microsoft/[email protected]
with:
languages: csharp
repo-token: ${{ github.token }}