Update main automation workflow to exclude dev branch

This commit is contained in:
Miha Kralj
2023-04-08 13:37:39 -07:00
parent 0c77d71602
commit be6bf1b7ec
4 changed files with 117 additions and 47 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ jobs:
/d:sonar.cs.dotcover.reportsPaths=./coveragereport.html
- name: Build Main branch of QuanTAlib DLL
if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ github.ref != 'refs/heads/dev' }}
run: dotnet build ./Calculations/Calculations.csproj --verbosity detailed --configuration Release --nologo -p:PackageVersion=${{ steps.gitversion.outputs.MajorMinorPatch }}
- name: Build dev branch of QuanTAlib DLL