diff --git a/.github/workflows/main_automation.yml b/.github/workflows/main_automation.yml index 6938bf35..728be851 100644 --- a/.github/workflows/main_automation.yml +++ b/.github/workflows/main_automation.yml @@ -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 diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj index 358c4d94..6c5cd878 100644 --- a/Tests/Tests.csproj +++ b/Tests/Tests.csproj @@ -1,7 +1,7 @@  - net7.0 + net8.0 preview enable enable @@ -9,18 +9,18 @@ AnyCPU;x64 - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + - + - +