Skip to content

Commit e5e1710

Browse files
committed
Add GitHub Actions CI build
1 parent e126cb8 commit e5e1710

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request: ~
7+
workflow_dispatch: ~
8+
9+
jobs:
10+
CI:
11+
runs-on: windows-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Build
20+
run: dotnet publish MystIVAssetExplorer.Desktop -c Release -o artifacts/Bin /bl:artifacts/Logs/publish.binlog
21+
22+
- name: Upload bin artifact
23+
if: always()
24+
uses: actions/upload-artifact@v4
25+
with:
26+
name: Bin
27+
path: |
28+
artifacts/Bin/**/*
29+
!artifacts/Bin/**/*.pdb
30+
31+
- name: Upload symbols artifact
32+
if: always()
33+
uses: actions/upload-artifact@v4
34+
with:
35+
name: Symbols
36+
path: artifacts/Bin/**/*.pdb
37+
38+
- name: Upload logs artifact
39+
if: always()
40+
uses: actions/upload-artifact@v4
41+
with:
42+
name: Logs
43+
path: artifacts/Logs

0 commit comments

Comments
 (0)