We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aab3d59 commit 0c11649Copy full SHA for 0c11649
.github/workflows/build.yml
@@ -0,0 +1,31 @@
1
+name: Build UnconfuserEx
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master # 触发条件为推送到 main 分支
7
+ pull_request:
8
9
+ - master # 触发条件为提交 Pull Request 到 main 分支
10
11
+jobs:
12
+ build:
13
+ runs-on: windows-latest # 使用最新的 Windows 环境
14
15
+ steps:
16
+ - name: Checkout code
17
+ uses: actions/checkout@v2 # 检出代码
18
19
+ - name: Set up .NET SDK
20
+ uses: actions/setup-dotnet@v3
21
+ with:
22
+ dotnet-version: '9.0.x' # 安装 .NET 9.0 SDK
23
24
+ - name: Restore dependencies
25
+ run: dotnet restore # 恢复 NuGet 依赖项
26
27
+ - name: Build project
28
+ run: dotnet build --configuration Release # 编译项目
29
30
+ - name: Publish project (可选)
31
+ run: dotnet publish --configuration Release --output ./publish # 发布项目
0 commit comments