mirror of
https://gitee.com/handyorg/HandyControl.git
synced 2024-11-29 18:38:30 +08:00
chore: update build.yml.
This commit is contained in:
parent
dc77110813
commit
9abf222822
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -1,3 +1,5 @@
|
||||
name: Build
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
@ -14,7 +16,9 @@ jobs:
|
||||
include-prerelease: true
|
||||
|
||||
- name: Build
|
||||
shell: pwsh
|
||||
working-directory: ./build
|
||||
run: |
|
||||
cd build
|
||||
.\build.ps1
|
||||
dotnet new tool-manifest
|
||||
dotnet tool install cake.tool --version 4.0.0
|
||||
dotnet tool install minver-cli --version 3.0.0
|
||||
dotnet cake
|
||||
|
2
.github/workflows/bump-up-version.yml
vendored
2
.github/workflows/bump-up-version.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
||||
dotnet-version: '8.0.x'
|
||||
include-prerelease: true
|
||||
|
||||
- name: Build
|
||||
- name: Publish
|
||||
working-directory: ./build
|
||||
run: |
|
||||
dotnet new tool-manifest
|
||||
|
@ -23,7 +23,7 @@ var target = Argument("target", "build");
|
||||
var preReleasePhase = Argument("pre-release-phase", "rc");
|
||||
var preRelease = Argument("pre-release", false);
|
||||
var username = Argument("username", "NaBian");
|
||||
var email = Argument("email, "836904362@qq.com");
|
||||
var email = Argument("email", "836904362@qq.com");
|
||||
|
||||
var libVersion = "";
|
||||
var nugetVersion = "";
|
||||
@ -234,7 +234,7 @@ Task("pack nuspec files")
|
||||
}
|
||||
});
|
||||
|
||||
Task("build")
|
||||
Task("publish")
|
||||
.IsDependentOn("update license")
|
||||
.IsDependentOn("update version")
|
||||
.IsDependentOn("update copyright")
|
||||
@ -246,8 +246,11 @@ Task("build")
|
||||
.IsDependentOn("build lib")
|
||||
.IsDependentOn("build demo")
|
||||
.IsDependentOn("create lang nuspec files")
|
||||
.IsDependentOn("pack nuspec files")
|
||||
;
|
||||
.IsDependentOn("pack nuspec files");
|
||||
|
||||
Task("build")
|
||||
.IsDependentOn("build lib")
|
||||
.IsDependentOn("build demo");
|
||||
|
||||
RunTarget(target);
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
<outputsFolder>outputs</outputsFolder>
|
||||
<tasks>
|
||||
<task framework="net40" target=".NETFramework4.0" outputsFolder="net40" configuration="Release-Net40" domain="Net_40" buildLib="true" buildDemo="true"/>
|
||||
<!-- <task framework="net45" target=".NETFramework4.5" outputsFolder="net45" configuration="Release" domain="Net_GE45" buildLib="true" buildDemo="true"/>
|
||||
<task framework="net45" target=".NETFramework4.5" outputsFolder="net45" configuration="Release" domain="Net_GE45" buildLib="true" buildDemo="true"/>
|
||||
<task framework="net451" target=".NETFramework4.5.1" outputsFolder="net451" configuration="Release" domain="Net_GE45" buildLib="true" buildDemo="true"/>
|
||||
<task framework="net452" target=".NETFramework4.5.2" outputsFolder="net452" configuration="Release" domain="Net_GE45" buildLib="true" buildDemo="true"/>
|
||||
<task framework="net46" target=".NETFramework4.6" outputsFolder="net46" configuration="Release" domain="Net_GE45" buildLib="true" buildDemo="true"/>
|
||||
@ -18,6 +18,6 @@
|
||||
<task framework="net5.0-windows" target="net5.0" outputsFolder="net5.0" configuration="Release" domain="Net_GE45" buildLib="true" buildDemo="true"/>
|
||||
<task framework="net6.0-windows" target="net6.0" outputsFolder="net6.0" configuration="Release" domain="Net_GE45" buildLib="true" buildDemo="true"/>
|
||||
<task framework="net7.0-windows" target="net7.0" outputsFolder="net7.0" configuration="Release" domain="Net_GE45" buildLib="true" buildDemo="true"/>
|
||||
<task framework="net8.0-windows" target="net8.0" outputsFolder="net8.0" configuration="Release" domain="Net_GE45" buildLib="true" buildDemo="true"/> -->
|
||||
<task framework="net8.0-windows" target="net8.0" outputsFolder="net8.0" configuration="Release" domain="Net_GE45" buildLib="true" buildDemo="true"/>
|
||||
</tasks>
|
||||
</config>
|
||||
|
Loading…
Reference in New Issue
Block a user