Merge remote-tracking branch 'origin/main' into main

This commit is contained in:
Miha Kralj
2023-04-01 17:10:00 -07:00
2 changed files with 17 additions and 13 deletions
+11 -7
View File
@@ -18,11 +18,13 @@ jobs:
fetch-depth: 0
- name: Install .NET 6.0 and 8.0
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
6.0.x
'8'
'7'
'6'
dotnet-quality: 'preview'
include-prerelease: true
- name: Install JDK11 for Sonar Scanner
@@ -52,9 +54,11 @@ jobs:
/d:sonar.cs.dotcover.reportsPaths=./coveragereport.html
- name: Build Core DLL
run: dotnet build ./Calculations/QuanTAlib.csproj --verbosity minimal --configuration Release --nologo
- name: Build Quantower DLL
run: dotnet build ./Quantower/Quantower.csproj --verbosity minimal --configuration Release --nologo
run: dotnet build ./Calculations/Calculations.csproj --verbosity minimal --configuration Release --nologo
- name: Build Indicators DLL
run: dotnet build ./Indicators/Indicators.csproj --verbosity minimal --configuration Release --nologo
- name: Build Strategies DLL
run: dotnet build ./Strategies/Strategies.csproj --verbosity minimal --configuration Release --nologo
- name: dotnet Test
#if: ${{ github.ref == 'refs/heads/dev' }}
@@ -114,7 +118,7 @@ jobs:
- name: Push package to nuget.org
if: ${{ github.ref == 'refs/heads/main' }}
run: dotnet nuget push '.\Calculations\bin\Release\QuanTAlib.*.nupkg'
run: dotnet nuget push '.\Calculations\bin\Release\net8.0\QuanTAlib.*.nupkg'
--api-key ${{ secrets.NUGET_DEPLOY_KEY_QUANTLIB }}
--Calculations https://api.nuget.org/v3/index.json
--skip-duplicate
+6 -6
View File
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>preview</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
@@ -9,18 +9,18 @@
<Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Python.Included" Version="3.10.0-preview5" />
<PackageReference Include="pythonnet" Version="3.0.1" />
<PackageReference Include="Python.Included" Version="3.11.2" />
<PackageReference Include="pythonnet" Version="3.1.0-preview2023-03-04" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0-preview-20221221-03" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.0-preview-20230223-05" />
<PackageReference Include="TALib.NETCore" Version="0.4.4" />
<PackageReference Include="Skender.Stock.Indicators" Version="2.4.7" />
<PackageReference Include="Skender.Stock.Indicators" Version="3.0.0-preview1014-0015" />
<PackageReference Include="Tulip.NETCore" Version="0.8.0.1" />
<PackageReference Include="System.Text.Json" Version="7.0.1" />
<PackageReference Include="System.Text.Json" Version="8.0.0-preview.2.23128.3" />
</ItemGroup>
<ItemGroup>