任务栏中插件项目的标签后面的空格不在绘制时添加,而是添加到默认标签文本中,允许用户在“显示文本设置”中删除空格 #582
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
| name: Release CI | |
| on: push | |
| jobs: | |
| x64_build: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Add msbuild to PATH | |
| uses: microsoft/setup-msbuild@v2 | |
| - name: Run msbuild | |
| run: msbuild -p:configuration=release -p:platform=x64 -p:platformToolset=v143 | |
| - name: Get current time | |
| uses: josStorer/get-current-time@v2.0.2 | |
| id: current-time | |
| with: | |
| format: YYYYMMDD_HHmmss | |
| utcOffset: "+08:00" | |
| - name : Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: x64_${{ steps.current-time.outputs.formattedTime }}_TrafficMonitor | |
| path: | | |
| Bin/x64/Release/TrafficMonitor.exe | |
| Bin/x64/Release/*.dll | |
| - name : Upload pdb files | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: x64_${{ steps.current-time.outputs.formattedTime }}_pdb | |
| path: Bin/x64/Release/*.pdb | |
| x86_build: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Add msbuild to PATH | |
| uses: microsoft/setup-msbuild@v2 | |
| - name: Run msbuild | |
| run: msbuild -p:configuration=release -p:platform=x86 -p:platformToolset=v143 | |
| - name: Get current time | |
| uses: josStorer/get-current-time@v2.0.2 | |
| id: current-time | |
| with: | |
| format: YYYYMMDD_HHmmss | |
| utcOffset: "+08:00" | |
| - name : Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: x86_${{ steps.current-time.outputs.formattedTime }}_TrafficMonitor | |
| path: | | |
| Bin/Release/TrafficMonitor.exe | |
| Bin/Release/*.dll | |
| - name : Upload pdb files | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: x86_${{ steps.current-time.outputs.formattedTime }}_pdb | |
| path: Bin/Release/*.pdb | |
| arm64ec_build: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Add msbuild to PATH | |
| uses: microsoft/setup-msbuild@v2 | |
| - name: Run msbuild | |
| run: msbuild -p:configuration=release -p:platform=ARM64EC -p:platformToolset=v143 | |
| - name: Get current time | |
| uses: josStorer/get-current-time@v2.0.2 | |
| id: current-time | |
| with: | |
| format: YYYYMMDD_HHmmss | |
| utcOffset: "+08:00" | |
| - name: Move dll file path | |
| run: mv Bin/x64/Release/*.dll Bin/ARM64EC/Release/ | |
| - name : Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: arm64EC_${{ steps.current-time.outputs.formattedTime }}_TrafficMonitor | |
| path: | | |
| Bin/ARM64EC/Release/TrafficMonitor.exe | |
| Bin/ARM64EC/Release/*.dll | |
| - name : Upload pdb files | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: arm64EC_${{ steps.current-time.outputs.formattedTime }}_pdb | |
| path: Bin/ARM64EC/Release/*.pdb | |
| # winXP_build: | |
| # runs-on: windows-latest | |
| # steps: | |
| # - uses: actions/checkout@v3 | |
| # - name: Add msbuild to PATH | |
| # uses: microsoft/setup-msbuild@v1.1.3 | |
| # - name: Run msbuild | |
| # run: | | |
| # set ExternalCompilerOptions=/DCOMPILE_FOR_WINXP | |
| # msbuild -p:configuration=release -p:platform=x86 -p:platformToolset=v140_xp | |
| # shell: cmd | |
| # - name: Get current time | |
| # uses: josStorer/get-current-time@v2.0.2 | |
| # id: current-time | |
| # with: | |
| # format: YYYYMMDD_HHmmss | |
| # utcOffset: "+08:00" | |
| # - name : Upload artifact | |
| # uses: actions/upload-artifact@v3 | |
| # with: | |
| # name: winXP_${{ steps.current-time.outputs.formattedTime }}_TrafficMonitor | |
| # path: Bin/Release/TrafficMonitor.exe |