-
Notifications
You must be signed in to change notification settings - Fork 58
Update NuGet publish workflow for current component set and .NET 10 support #151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
ded1964
1b14604
01c9d12
591c8bd
289aaf3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,7 +18,7 @@ jobs: | |
| - name: 安装.NET SDK | ||
| uses: actions/setup-dotnet@v4 | ||
| with: | ||
| dotnet-version: '9.0.x' # 与现有CI配置保持一致 | ||
| dotnet-version: '10.0.x' # 支持GeneralUpdate.Drivelution的.NET 10目标框架 | ||
|
|
||
| - name: 恢复依赖 | ||
| run: dotnet restore ./src/c#/GeneralUpdate.sln # 使用解决方案统一恢复 | ||
|
|
@@ -33,9 +33,11 @@ jobs: | |
| "GeneralUpdate.ClientCore", | ||
| "GeneralUpdate.Common", | ||
| "GeneralUpdate.Core", | ||
| "GeneralUpdate.Differential" | ||
| "GeneralUpdate.Differential", | ||
| "GeneralUpdate.Drivelution", | ||
| "GeneralUpdate.Extension" | ||
| ) | ||
|
|
||
| foreach ($project in $projects) { | ||
| dotnet pack ./src/c#/$project/$project.csproj ` | ||
|
Comment on lines
+38
to
42
|
||
| -c Release ` | ||
|
|
@@ -53,4 +55,4 @@ jobs: | |
| name: Release v${{ github.event.inputs.version }} | ||
| files: ./nupkgs/*.nupkg | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GeneralUpdate.Common需要加上
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot check for this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added GeneralUpdate.Common back to the component list in commit 591c8bd.