Skip to content

Merge branch 'develop' of https://github.com/winup-zhou/TGMT-CBTC-EX … #36

Merge branch 'develop' of https://github.com/winup-zhou/TGMT-CBTC-EX …

Merge branch 'develop' of https://github.com/winup-zhou/TGMT-CBTC-EX … #36

Workflow file for this run

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/