Skip to content

添加workflows、修复bug #2

添加workflows、修复bug

添加workflows、修复bug #2

Workflow file for this run

name: Test
on:
push:
branches: [dev]
pull_request:
branches: [master]
jobs:
build:
runs-on: windows-latest
env:
PRJ_NAME: FreeControl
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Restore NuGet Packages
run: nuget restore FreeControl.sln
- name: Build
run: msbuild FreeControl.sln /p:Configuration=Release /p:Platform="Any CPU" /p:OutputPath="output"
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: $PRJ_NAME
path: $PRJ_NAME\output\$PRJ_NAME.exe