-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 939 Bytes
/
build.yml
File metadata and controls
42 lines (34 loc) · 939 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
40
41
42
name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
steps:
- name: Checkout plugin
uses: actions/checkout@v6.0.2
with:
path: SamplePlugin
- name: Checkout SDK
uses: actions/checkout@v6.0.2
with:
repository: InkCanvasForClass/community
path: community
- name: Setup .NET
uses: actions/setup-dotnet@v5.2.0
with:
dotnet-version: '6.0.x'
- name: Restore dependencies
run: dotnet restore SamplePlugin/SamplePlugin.csproj
- name: Build
run: dotnet build SamplePlugin/SamplePlugin.csproj --configuration Release --no-restore
- name: Upload artifact
uses: actions/upload-artifact@v7.0.1
with:
name: SamplePlugin
path: SamplePlugin/bin/Release/net6.0-windows10.0.19041.0/