mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-25 13:58:04 +00:00
Merge
This commit is contained in:
@@ -78,29 +78,6 @@ jobs:
|
|||||||
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
||||||
coverage-reports: ./coveragereport.xml
|
coverage-reports: ./coveragereport.xml
|
||||||
|
|
||||||
release_publish:
|
|
||||||
runs-on: windows-latest
|
|
||||||
needs: [build_test]
|
|
||||||
if: ${{ github.ref == 'refs/heads/main' }}
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Install .NET 7.0
|
|
||||||
uses: actions/setup-dotnet@v1
|
|
||||||
with:
|
|
||||||
dotnet-version: |
|
|
||||||
7.0.x
|
|
||||||
5.0.x
|
|
||||||
include-prerelease: true
|
|
||||||
|
|
||||||
- name: Build Core DLL
|
|
||||||
run: dotnet build ./Source/QuanTAlib.csproj --configuration Release --nologo
|
|
||||||
- name: Build Quantower DLL
|
|
||||||
run: dotnet build ./Quantower/Quantower.csproj --configuration Release --nologo
|
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: marvinpinto/action-automatic-releases@latest
|
uses: marvinpinto/action-automatic-releases@latest
|
||||||
with:
|
with:
|
||||||
@@ -111,44 +88,15 @@ jobs:
|
|||||||
files: /Quantower/Settings/Scripts/Indicators/QuanTAlib/*.dll
|
files: /Quantower/Settings/Scripts/Indicators/QuanTAlib/*.dll
|
||||||
|
|
||||||
- name: Push package to github
|
- name: Push package to github
|
||||||
|
if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
run: dotnet nuget push '.\Source\bin\Release\QuanTAlib.*.nupkg'
|
run: dotnet nuget push '.\Source\bin\Release\QuanTAlib.*.nupkg'
|
||||||
--api-key ${{ secrets.GITHUB_TOKEN }}
|
--api-key ${{ secrets.GITHUB_TOKEN }}
|
||||||
--source https://nuget.pkg.github.com/mihakralj/index.json
|
--source https://nuget.pkg.github.com/mihakralj/index.json
|
||||||
# --skip-duplicate
|
# --skip-duplicate
|
||||||
|
|
||||||
- name: Push package to nuget.org
|
- name: Push package to nuget.org
|
||||||
|
if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
run: dotnet nuget push '.\Source\bin\Release\QuanTAlib.*.nupkg'
|
run: dotnet nuget push '.\Source\bin\Release\QuanTAlib.*.nupkg'
|
||||||
--api-key ${{ secrets.NUGET_DEPLOY_KEY_QUANTLIB }}
|
--api-key ${{ secrets.NUGET_DEPLOY_KEY_QUANTLIB }}
|
||||||
--source https://api.nuget.org/v3/index.json
|
--source https://api.nuget.org/v3/index.json
|
||||||
--skip-duplicate
|
--skip-duplicate
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# - name: Zip DLLs
|
|
||||||
# uses: thedoctor0/zip-release@master
|
|
||||||
# with:
|
|
||||||
# type: 'zip'
|
|
||||||
# directory: \Quantower\Settings\Scripts\Indicators\QuanTAlib
|
|
||||||
# filename: QL_Quantower.zip
|
|
||||||
|
|
||||||
# - name: Release
|
|
||||||
# uses: marvinpinto/action-automatic-releases@latest
|
|
||||||
# with:
|
|
||||||
# repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
|
||||||
# automatic_release_tag: "latest"
|
|
||||||
# prerelease: true
|
|
||||||
# title: "Pre-release Build"
|
|
||||||
# files: /Quantower/Settings/Scripts/Indicators/QuanTAlib/*.zip
|
|
||||||
|
|
||||||
# - name: Push package to nuget.org
|
|
||||||
# run: dotnet nuget push '.\Source\bin\Release\QuanTAlib.*.nupkg'
|
|
||||||
# --api-key ${{ secrets.NUGET_DEPLOY_KEY_QUANTLIB }}
|
|
||||||
# --source https://api.nuget.org/v3/index.json
|
|
||||||
# --skip-duplicate
|
|
||||||
|
|
||||||
# - name: Push package to github
|
|
||||||
# run: dotnet nuget push '.\Source\bin\Release\QuanTAlib.*.nupkg'
|
|
||||||
# --api-key ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
# --source https://nuget.pkg.github.com/mihakralj/index.json
|
|
||||||
# --skip-duplicate
|
|
||||||
@@ -12,6 +12,7 @@
|
|||||||
.vscode/
|
.vscode/
|
||||||
*.deps.json
|
*.deps.json
|
||||||
.Sandbox/
|
.Sandbox/
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
# User-specific files (MonoDevelop/Xamarin Studio)
|
# User-specific files (MonoDevelop/Xamarin Studio)
|
||||||
*.userprefs
|
*.userprefs
|
||||||
|
|||||||
Reference in New Issue
Block a user