-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (31 loc) · 874 Bytes
/
Copy pathci.yml
File metadata and controls
40 lines (31 loc) · 874 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
28
29
30
31
32
33
34
35
36
37
38
39
40
name: CI
on:
pull_request:
branches: [main]
push:
branches: ['**']
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
build-test:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: 8.0.x
- name: Restore
run: dotnet restore ExpressionTreeExplorer.sln
- name: Build
run: dotnet build ExpressionTreeExplorer.sln -c Release --no-restore
- name: Test
run: dotnet test ExpressionTreeExplorer.sln -c Release --no-build
- name: Upload VSIX artifact
uses: actions/upload-artifact@v5
with:
name: vsix
path: ExpressionTreeExplorer.Vsix/bin/Release/net8.0-windows/*.vsix
if-no-files-found: error