File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ jobs:
2020 steps :
2121 # Step 1 - Checkout Code
2222 - name : Checkout Code
23- uses : actions/checkout@v4
23+ uses : actions/checkout@v6
2424
2525 # Step 2 - Run CodeQL
2626 - name : Run CodeQL
27- uses : ricado-group/dotnet-library-codeql-action@v1
27+ uses : ricado-group/dotnet-library-codeql-action@v2
2828 with :
2929 private-nuget-url : ' https://nuget.pkg.github.com/ricado-group/index.json'
3030 private-nuget-token : ${{ secrets.GH_PACKAGES_PAT }}
Original file line number Diff line number Diff line change 1010 - ' *.*.*'
1111 pull_request :
1212
13+ permissions : {}
14+
1315# Workflow Jobs
1416jobs :
1517 build :
18+ if : ${{ !startsWith(github.ref, 'refs/tags/') }}
19+ runs-on : ubuntu-latest
20+ permissions :
21+ contents : read
22+ steps :
23+ - name : Checkout Code
24+ uses : actions/checkout@v6
25+
26+ - name : Build
27+ uses : ricado-group/dotnet-library-build-release-action@v2
28+ with :
29+ project-name : ' RICADO.Modbus'
30+ github-token : ${{ secrets.GITHUB_TOKEN }}
31+ private-nuget-url : ' https://nuget.pkg.github.com/ricado-group/index.json'
32+ private-nuget-token : ${{ secrets.GH_PACKAGES_PAT }}
33+ public-nuget-user : ${{ vars.NUGET_USER }}
34+ publish-public : false
35+ dotnet-version : 10.0.x
36+
37+ publish :
38+ if : ${{ startsWith(github.ref, 'refs/tags/') }}
1639 runs-on : ubuntu-latest
40+ permissions :
41+ id-token : write
42+ contents : write
1743 steps :
18- # Step 1 - Checkout Code
1944 - name : Checkout Code
20- uses : actions/checkout@v4
45+ uses : actions/checkout@v6
2146
22- # Step 2 - Build and Publish
2347 - name : Build and Publish
24- uses : ricado-group/dotnet-library-build-release-action@v1
48+ uses : ricado-group/dotnet-library-build-release-action@v2
2549 with :
2650 project-name : ' RICADO.Modbus'
2751 github-token : ${{ secrets.GITHUB_TOKEN }}
2852 private-nuget-url : ' https://nuget.pkg.github.com/ricado-group/index.json'
2953 private-nuget-token : ${{ secrets.GH_PACKAGES_PAT }}
30- public-nuget-token : ${{ secrets.NUGET_APIKEY }}
54+ public-nuget-user : ${{ vars.NUGET_USER }}
3155 publish-public : true
32- dotnet-version : 8 .0.x
56+ dotnet-version : 10 .0.x
Original file line number Diff line number Diff line change 11MIT License
22
3- Copyright (c) 2021 - 2024 RICADO Limited
3+ Copyright (c) 2009 - 2026 RICADO Limited
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 11# RICADO.Modbus
2- A Modbus Communication Library for .NET 6 + and .NET Standard 2.0 Applications
2+ A Modbus Communication Library for .NET 8 + and .NET Standard 2.0 Applications
33
44
55## Sample usage
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >net8 .0;net7.0;net6 .0;netstandard2.0</TargetFrameworks >
4+ <TargetFrameworks >net10 .0;net8 .0;netstandard2.0</TargetFrameworks >
55 <Authors >RICADO</Authors >
66 <Company >RICADO Limited</Company >
7- <Description >A Modbus Communication Library for .NET 6 + and .NET Standard 2.0 Applications</Description >
8- <Copyright >Copyright © RICADO Limited 2009 - 2024 </Copyright >
7+ <Description >A Modbus Communication Library for .NET 8 + and .NET Standard 2.0 Applications</Description >
8+ <Copyright >Copyright © RICADO Limited 2009 - 2026 </Copyright >
99 <PackageLicenseFile >LICENSE</PackageLicenseFile >
1010 <PackageIcon >packageIcon.png</PackageIcon >
1111 <RepositoryUrl >https://github.com/ricado-group/dotnet-modbus</RepositoryUrl >
2727 </ItemGroup >
2828
2929 <ItemGroup >
30- <PackageReference Include =" RICADO.Sockets" Version =" 1.4 .0" />
30+ <PackageReference Include =" RICADO.Sockets" Version =" 2.0 .0" />
3131 </ItemGroup >
3232
3333</Project >
You can’t perform that action at this time.
0 commit comments