更新: 给配置文件添加了【"白名单拦截提示的群号": 0】 #89
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 | |
- cai | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Install .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
- name: Build Plugins | |
run: | | |
dotnet build Plugin.sln | |
- name: Setup Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.x' | |
- name: Package | |
run: python BuildHelper.py Debug | |
env: | |
PYTHONIOENCODING: 'utf-8' | |
- name: Upload binary files(${{ matrix.runtimeIdentifier }}) for .NET 6.0 | |
uses: actions/upload-artifact@v4 | |
if: github.event_name == 'pull_request' | |
with: | |
name: Plugin | |
path: out/Debug/* |