Skip to content

Commit 4e7f407

Browse files
Merge pull request #2 from ShihaoShenDev/trae/solo-agent-b2FZYL
feat: 编写检查编译通过的Workflow Co-authored-by: ShihaoShen-Bot <bot@shihaoshen.qzz.io>
2 parents 8aeb8ed + 81096ae commit 4e7f407

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build Check
2+
3+
on:
4+
push:
5+
branches: [ "main", "master" ]
6+
pull_request:
7+
branches: [ "main", "master" ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: windows-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Setup .NET
19+
uses: actions/setup-dotnet@v4
20+
with:
21+
dotnet-version: '11.0.x'
22+
include-prerelease: true
23+
24+
- name: Restore dependencies
25+
run: dotnet restore
26+
27+
- name: Build
28+
run: dotnet build --no-restore --configuration Release

0 commit comments

Comments
 (0)