Skip to content

更新依赖

更新依赖 #28

Workflow file for this run

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/