-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (33 loc) · 1.28 KB
/
build.yaml
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
41
name: "Build"
on:
push:
paths_ignore:
- '**/*.md'
pull_request:
paths_ignore:
- '**/*.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Build project
run: |
dotnet publish -c Release --framework netstandard2.0 ${{ github.workspace }}/Spz.NET/
dotnet publish -c Release --framework netstandard2.0 ${{ github.workspace }}/Spz.NET/
dotnet publish -c Release --framework netstandard2.0 ${{ github.workspace }}/Spz.NET/
dotnet publish -c Release --framework netstandard2.0 ${{ github.workspace }}/Spz.NET/
dotnet publish -c Release --framework net9.0 ${{ github.workspace }}/Spz.NET/
dotnet publish -c Release --framework net9.0 ${{ github.workspace }}/Spz.NET/
dotnet publish -c Release --framework net9.0 ${{ github.workspace }}/Spz.NET/
dotnet publish -c Release --framework net9.0 ${{ github.workspace }}/Spz.NET/
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: spz-net
path: ${{ github.workspace }}/Spz.NET/bin/Release