Skip to content

写入配置加锁

写入配置加锁 #57

# This is a basic workflow to help you get started with Actions
name: ProjectBuild
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
Build:
# The type of runner that the job will run on
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v1.1
- name: Setup NuGet
uses: NuGet/setup-nuget@v1.0.7
- name: Restore NuGet packages
run: nuget restore Another-Mirai-Native.sln
- name: Restore DllExport
run: .\DllExport -action Restore
- name: Run MSBuild
run: msbuild
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.0
with:
name: artifact
path: |
Another-Mirai-Native\bin\Debug\AnotherMiraiNative.exe
Another-Mirai-Native\bin\Debug\CQP.dll