|
1 | | -<<<<<<< HEAD |
2 | 1 | name: Build Stability Matrix (Windows) |
3 | 2 |
|
4 | 3 | on: |
|
11 | 10 | jobs: |
12 | 11 | build-windows: |
13 | 12 | runs-on: windows-latest |
14 | | -======= |
15 | | -name: Build |
16 | | - |
17 | | -on: |
18 | | - push: |
19 | | - branches: [ main, dev ] |
20 | | - pull_request: |
21 | | - branches: [ main, dev ] |
22 | | - |
23 | | -jobs: |
24 | | - build: |
25 | | - runs-on: ubuntu-latest |
26 | | ->>>>>>> 8c0a4959 (Rename workflow file to remove spaces) |
27 | 13 |
|
28 | 14 | steps: |
29 | 15 | - name: Checkout repository |
30 | 16 | uses: actions/checkout@v4 |
31 | | -<<<<<<< HEAD |
32 | | -======= |
33 | 17 | with: |
34 | 18 | fetch-depth: 0 |
35 | | ->>>>>>> 8c0a4959 (Rename workflow file to remove spaces) |
36 | 19 |
|
37 | 20 | - name: Setup .NET SDK 9.x |
38 | 21 | uses: actions/setup-dotnet@v4 |
39 | 22 | with: |
40 | 23 | dotnet-version: '9.0.x' |
41 | 24 |
|
42 | | -<<<<<<< HEAD |
43 | 25 | - name: Restore Avalonia project |
44 | 26 | run: dotnet restore StabilityMatrix.Avalonia/StabilityMatrix.Avalonia.csproj |
45 | 27 |
|
46 | 28 | - name: Restore Tests project |
47 | 29 | run: dotnet restore StabilityMatrix.Tests/StabilityMatrix.Tests.csproj |
48 | 30 |
|
49 | | -======= |
50 | | - - name: Restore dependencies |
51 | | - run: dotnet restore StabilityMatrix.sln |
52 | | - |
53 | | - - name: Build |
54 | | - run: dotnet build StabilityMatrix.sln --configuration Release --no-restore |
55 | | - |
56 | | -<<<<<<< HEAD |
57 | | - - name: Publish Avalonia app |
58 | | - run: > |
59 | | - dotnet publish |
60 | | - StabilityMatrix.Avalonia/StabilityMatrix.Avalonia.csproj |
61 | | - -c Release |
62 | | - -r linux-x64 |
63 | | - --self-contained false |
64 | | - /p:PublishReadyToRun=false |
65 | | -======= |
66 | | ->>>>>>> 8c0a4959 (Rename workflow file to remove spaces) |
67 | 31 | - name: Build Avalonia project |
68 | 32 | run: dotnet build StabilityMatrix.Avalonia/StabilityMatrix.Avalonia.csproj -c Release --no-restore --no-cache |
69 | 33 |
|
|
80 | 44 | uses: actions/upload-artifact@v4 |
81 | 45 | with: |
82 | 46 | name: StabilityMatrix-win10-x64 |
83 | | - path: ./publish/win10-x64/* |
84 | | - compression-level: 6 |
85 | | -<<<<<<< HEAD |
86 | | - retention-days: 14 |
87 | | -======= |
88 | | - retention-days: 14 |
89 | | ->>>>>>> d8d9b710 (Update Stability Matrix AI build.yml) |
90 | | ->>>>>>> 8c0a4959 (Rename workflow file to remove spaces) |
| 47 | + path: ./publish/win10-x64 |
0 commit comments