-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 925 Bytes
/
Copy pathdotnet-desktop.yml
File metadata and controls
39 lines (31 loc) · 925 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
name: Build Mandel Fractals App
on:
push:
branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
configuration: [Release] # Only Release for real builds
steps:
# Checkout repo
- name: Checkout
uses: actions/checkout@v4
# Install .NET 10
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x
# Restore dependencies
- name: Restore
run: dotnet restore CS_GRAPHICS.slnx
# Publish real executable (self-contained, single file)
- name: Publish EXE
run: dotnet publish CS_GRAPHICS.slnx -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -o publish
# Upload artifact
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: MandelFractals-App
path: publish/