Skip to content

Commit

Permalink
Upgraded to .NET 7
Browse files Browse the repository at this point in the history
  • Loading branch information
ashneilson committed Dec 21, 2022
1 parent 2300d2a commit bb55f69
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 29 deletions.
28 changes: 5 additions & 23 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:

# Workflow Jobs
jobs:
# Analyze Job
analyze:
name: Analyze
runs-on: ubuntu-latest
Expand All @@ -23,26 +22,9 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v3

# Step 2 - Initialize CodeQL
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
# Step 2 - Run CodeQL
- name: Run CodeQL
uses: ricado-group/dotnet-library-codeql-action@v1
with:
languages: csharp
queries: security-and-quality

# Step 3 - Setup .NET 6 with GitHub Packages Authentication
- name: Setup .NET 6 with GitHub Packages Authentication
uses: actions/[email protected]
with:
dotnet-version: 6.0.x
source-url: https://nuget.pkg.github.com/ricado-group/index.json
env:
NUGET_AUTH_TOKEN: ${{ secrets.GH_PACKAGES_PAT }}

# Step 4 - Build the Library
- name: Run CodeQL Autobuild
uses: github/codeql-action/autobuild@v2

# Step 5 - Perform CodeQL Analysis
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
private-nuget-url: 'https://nuget.pkg.github.com/ricado-group/index.json'
private-nuget-token: ${{ secrets.GH_PACKAGES_PAT }}
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- master
tags:
- '*.*.*'
pull_request:

# Workflow Jobs
jobs:
Expand All @@ -20,11 +21,12 @@ jobs:

# Step 2 - Build and Publish
- name: Build and Publish
uses: ricado-group/dotnet-library-build-release-action@v1.3
uses: ricado-group/dotnet-library-build-release-action@v1
with:
project-name: 'RICADO.Unitronics'
github-token: ${{ secrets.GITHUB_TOKEN }}
private-nuget-url: 'https://nuget.pkg.github.com/ricado-group/index.json'
private-nuget-token: ${{ secrets.GH_PACKAGES_PAT }}
public-nuget-token: ${{ secrets.NUGET_APIKEY }}
publish-public: true
dotnet-version: 7.0.x
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# RICADO.Unitronics
A Unitronics PLC Communication Library for .NET 6 Applications
A Unitronics PLC Communication Library for .NET 6/7 Applications
9 changes: 5 additions & 4 deletions RICADO.Unitronics/RICADO.Unitronics.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>net7.0;net6.0</TargetFrameworks>
<Authors>RICADO Group</Authors>
<Company>RICADO Group LP</Company>
<Description>A Unitronics PLC Communication Library for .NET 6 Applications</Description>
<Copyright>Copyright © RICADO Group LP 2009 - 2021</Copyright>
<Description>A Unitronics PLC Communication Library for .NET 6/7 Applications</Description>
<Copyright>Copyright © RICADO Group LP 2009 - 2023</Copyright>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageIcon>packageIcon.png</PackageIcon>
<RepositoryUrl>https://github.com/ricado-group/dotnet-unitronics</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
Expand All @@ -26,7 +27,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="RICADO.Sockets" Version="1.2.0" />
<PackageReference Include="RICADO.Sockets" Version="1.3.0" />
</ItemGroup>

</Project>

0 comments on commit bb55f69

Please sign in to comment.