修正释放速度下的ATO动作 #31
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: MSBuild | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- develop | |
paths: | |
- '*/**' | |
- '!./*' | |
- './*.sln' | |
- '!.github/**' | |
jobs: | |
build: | |
name: MSBuild | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup MSBuild.exe | |
uses: microsoft/[email protected] | |
- name: Setup Nuget | |
uses: NuGet/[email protected] | |
- name: Restore nuget packages | |
run: nuget restore TGMT-CBTC-EX.sln | |
- name: MSBuild | |
run: msbuild TGMT-CBTC-EX.sln /m /p:configuration="Release" /p:platform="Any CPU" /p:OutputPath="./out/" | |
shell: cmd | |
- name: Collect artifact | |
run: | | |
ls -alR | |
mkdir plugins/ | |
find . -type f -path '*/out/*.dll' -name 'TGMT-CBTC-EX*' | xargs mv --force --backup=numbered -t ./plugins/ | |
rm plugins/*~ | |
shell: bash | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: plugins | |
path: ./plugins/ |