-
-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (27 loc) · 748 Bytes
/
Copy pathci-build.yml
File metadata and controls
34 lines (27 loc) · 748 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
name: Build
on:
push:
branches: ['**']
pull_request:
workflow_dispatch:
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: '10.0.x'
- name: Restore
run: dotnet restore LocalRelay.slnx
- name: Publish & pack module
run: dotnet publish LocalRelay/LocalRelay.csproj --configuration Release -o publish
- name: Upload module artifact
uses: actions/upload-artifact@v5
with:
name: OpenShock.LocalRelay.module
path: publish/OpenShock.LocalRelay.module.zip
if-no-files-found: error