0.3.2 ,1.论证ML连续性检测无效,已废弃,2.优化对大ZIP文件、office文档文件、PNG文件的修复 #20
This file contains hidden or 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
| # This workflow builds the Filerestore_CLI project using MSBuild | |
| name: MSBuild | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| env: | |
| SOLUTION_FILE_PATH: Filerestore_CLI.slnx | |
| BUILD_CONFIGURATION: Release | |
| BUILD_PLATFORM: x64 | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup MSBuild | |
| uses: microsoft/setup-msbuild@v2 | |
| - name: Setup Visual Studio 2022 | |
| uses: microsoft/setup-msbuild@v2 | |
| with: | |
| vs-version: '[17.0,18.0)' | |
| - name: Build solution | |
| working-directory: ${{env.GITHUB_WORKSPACE}} | |
| run: | | |
| msbuild ${{env.SOLUTION_FILE_PATH}} ` | |
| /m ` | |
| /p:Configuration=${{env.BUILD_CONFIGURATION}} ` | |
| /p:Platform=${{env.BUILD_PLATFORM}} ` | |
| /p:PlatformToolset=v143 ` | |
| /p:WindowsTargetPlatformVersion=10.0 ` | |
| /verbosity:minimal | |
| - name: Upload build artifacts | |
| if: success() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Filerestore_CLI-${{env.BUILD_PLATFORM}}-${{env.BUILD_CONFIGURATION}} | |
| path: ${{env.BUILD_PLATFORM}}/${{env.BUILD_CONFIGURATION}}/*.exe | |
| if-no-files-found: warn |