-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (35 loc) · 886 Bytes
/
ci.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: CI Build
on:
push:
branches: [ "main" ]
paths:
- 'src/**/*'
- '.github/workflows/*'
- '.github/actions/*'
pull_request:
branches: [ "main" ]
paths:
- 'src/**/*'
- '.github/workflows/*'
- '.github/actions/*'
env:
CI: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_NOLOGO: true
jobs:
build:
name: Build, test, and pack
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-quality: ga
- name: Restore packages
run: dotnet restore
working-directory: src/AssemblyAI.SemanticKernel/
- name: Build project
run: dotnet build --no-restore --configuration Release
working-directory: src/AssemblyAI.SemanticKernel/