添加插件:Autoclear智能自动扫地 #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Plugin Build | |
on: | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
- name: Build Plugins | |
shell: powershell | |
run: | | |
dotnet build Plugin.sln | |
- name: Upload binary files(${{ matrix.runtimeIdentifier }}) for .NET 6.0 | |
uses: actions/upload-artifact@v4 | |
if: github.event_name != 'pull_request' | |
with: | |
name: Plugin_${{ matrix.runtimeIdentifier }}_6.0 | |
path: out/Debug/${{ matrix.runtimeIdentifier }} |