-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 858 Bytes
/
Copy pathci.yml
File metadata and controls
36 lines (29 loc) · 858 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
name: CI
on:
push:
branches: [ master, main, develop ]
pull_request:
branches: [ master, main, develop ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test build output
run: |
if (Test-Path "./bin/Release/net10.0/ProgramBox.exe") {
Write-Host "✓ Build successful - ProgramBox.exe found"
} else {
Write-Error "✗ Build failed - ProgramBox.exe not found"
exit 1
}
shell: pwsh