Skip to content

Commit d3c5f01

Browse files
committed
net10.0 update
1 parent 6e42116 commit d3c5f01

File tree

4 files changed

+20
-26
lines changed

4 files changed

+20
-26
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
- name: Setup dotnet
1818
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4.0.0
1919
with:
20-
dotnet-version: '8.0.x'
20+
dotnet-version: "10.0.x"
2121
- name: Build
2222
run: |
2323
dotnet build --configuration Release PackageManagerClient\src\GregClient.sln
2424
- name: Look for PackageManagerClient
2525
run: |
26-
if (Test-Path -Path "${{ github.workspace }}\PackageManagerClient\bin\Release\net8.0\Greg.dll") {
26+
if (Test-Path -Path "${{ github.workspace }}\PackageManagerClient\bin\Release\net10.0\Greg.dll") {
2727
Write-Output "PackageManagerClient exists!"
2828
} else {
2929
Write-Error "PackageManagerClient was not found!"

pipeline.yml

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,22 @@ schedule:
1616
cron_schedule: "once_a_week"
1717

1818
jenkins_creds:
19-
-
20-
type: secretText
21-
credentialsId: dynamovisualprogramming_nuget_api_key
22-
secretText: APIKEY
23-
-
24-
type: usernamePassword
25-
credentialsId: local-svc_p_ors
26-
username: GITADSK_USERNAME
27-
password: GITADSK_PASSWORD
19+
- type: secretText
20+
credentialsId: dynamovisualprogramming_nuget_api_key
21+
secretText: APIKEY
22+
- type: usernamePassword
23+
credentialsId: local-svc_p_ors
24+
username: GITADSK_USERNAME
25+
password: GITADSK_PASSWORD
2826

2927
build:
30-
-
31-
setup_proj_deps: true
28+
- setup_proj_deps: true
3229
solution: src\\GregClient.sln
3330
scripts:
3431
- "dotnet build --configuration Release src/GregClient.sln"
3532
ci_test:
3633
tests:
37-
-
38-
scripts:
34+
- scripts:
3935
- dotnet coverage collect "dotnet test --no-build --configuration Release src/GregClient.sln --logger:junit --logger:trx" -f xml -o "coverage.xml"
4036

4137
test_report_dir: src\\GregClientTests\\TestResults
@@ -54,14 +50,12 @@ soc2:
5450
harmony:
5551
hidden_email_list: dynamo_ws_access
5652
third_party_lib_paths:
57-
- bin\Release\net8.0
53+
- bin\Release\net10.0
5854

5955
deployment:
60-
-
61-
type: sign
62-
files_to_sign:
63-
- "bin\\Release\\net8.0\\greg.dll"
64-
-
65-
type: customized
66-
scripts:
67-
- "pwsh.exe -ExecutionPolicy ByPass -File .\\cicdscripts\\PublishPackage.ps1 -ReleaseBranches master"
56+
- type: sign
57+
files_to_sign:
58+
- "bin\\Release\\net10.0\\greg.dll"
59+
- type: customized
60+
scripts:
61+
- "pwsh.exe -ExecutionPolicy ByPass -File .\\cicdscripts\\PublishPackage.ps1 -ReleaseBranches master"

src/GregClient/GregClient.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<AppDesignerFolder>Properties</AppDesignerFolder>
1212
<RootNamespace>Greg</RootNamespace>
1313
<AssemblyName>Greg</AssemblyName>
14-
<TargetFrameworks>net8.0</TargetFrameworks>
14+
<TargetFrameworks>net10.0</TargetFrameworks>
1515
<TotalDays>$([System.DateTime]::op_Subtraction($([System.DateTime]::get_Now().get_Date()),$([System.DateTime]::new(2023,1,1))).get_TotalDays())</TotalDays>
1616
<Days>$([MSBuild]::Multiply($(TotalDays), 10))</Days>
1717
<Hours>$([MSBuild]::Divide($([System.DateTime]::get_Now().get_TimeOfDay().get_TotalHours()), 3))</Hours>

src/GregClientTests/GregClientTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

0 commit comments

Comments
 (0)