/
githubmirror
/
TrafficMonitor
Обзор
Документация
Войти
/
githubmirror
/
TrafficMonitor
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
.github/workflows/main.yml
109 строк
3 KB
zhongyang219
撤销更改
11 июл 2026, 11:43
11 июл 2026, 11:43
48217b4
Код
Авторство
О чём код?
name: Release CI on: push: tags: ['v*'] workflow_dispatch: 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 TrafficMonitor_Lite.sln -p:configuration="Release (lite)" -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 (lite)/TrafficMonitor.exe Bin/x64/Release (lite)/*.dll - name : Upload pdb files uses: actions/upload-artifact@v4 with: name: x64_${{ steps.current-time.outputs.formattedTime }}_pdb path: Bin/x64/Release (lite)/*.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 TrafficMonitor_Lite.sln -p:configuration="Release (lite)" -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 (lite)/TrafficMonitor.exe Bin/Release (lite)/*.dll - name : Upload pdb files uses: actions/upload-artifact@v4 with: name: x86_${{ steps.current-time.outputs.formattedTime }}_pdb path: Bin/Release (lite)/*.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 TrafficMonitor_Lite.sln -p:configuration="Release (lite)" -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 (lite)/TrafficMonitor.exe Bin/ARM64EC/Release (lite)/*.dll - name : Upload pdb files uses: actions/upload-artifact@v4 with: name: arm64EC_${{ steps.current-time.outputs.formattedTime }}_pdb path: Bin/ARM64EC/Release (lite)/*.pdb