File tree Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -21,18 +21,24 @@ jobs:
2121       continue-on-error : true 
2222     - name : Setup NuGet.exe 
2323       if : steps.gitleaks.outcome != 'success' 
24-        uses : nuget/setup-nuget@v1  
24+        uses : nuget/setup-nuget@v2  
2525       with :
2626          nuget-version : latest 
27-      - name : Install the dotnet  
27+      - name : Install Mono  
2828       if : steps.gitleaks.outcome != 'success' 
29-        uses : actions/setup-dotnet@v3 
30-        with :
31-           dotnet-version : ' 3.1.x' 
29+        run : | 
30+         sudo apt update 
31+         sudo apt install -y mono-complete 
32+ name : Install the dotnet SDK to a custom directory 
33+        if : steps.gitleaks.outcome != 'success' 
34+        run : | 
35+         mkdir -p $GITHUB_WORKSPACE/dotnet 
36+         curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --install-dir $GITHUB_WORKSPACE/dotnet --channel 6.0 
3237name : Install the report tool packages 
3338       if : steps.gitleaks.outcome != 'success' 
3439       run : | 
40+            export PATH=$GITHUB_WORKSPACE/dotnet:$PATH 
3541           nuget install "Syncfusion.Email" -source ${{ secrets.NexusFeedLink }} -ExcludeVersion 
36-            dir $GITHUB_WORKSPACE/Syncfusion.Email/lib/netcoreapp3.1  
37-            dotnet $GITHUB_WORKSPACE/Syncfusion.Email/lib/netcoreapp3.1 /GitleaksReportMail.dll ${{ secrets.CITEAMCREDENTIALS }} "$GITHUB_REF_NAME" ${{ secrets.NETWORKCREDENTIALS }} ${{ secrets.NETWORKKEY }} "$GITHUB_WORKSPACE" ${{ secrets.ORGANIZATIONNAME }} 
38-            exit 1 
42+            dir $GITHUB_WORKSPACE/Syncfusion.Email/lib/net6.0  
43+            dotnet $GITHUB_WORKSPACE/Syncfusion.Email/lib/net6.0 /GitleaksReportMail.dll ${{ secrets.CITEAMCREDENTIALS }} "$GITHUB_REF_NAME" ${{ secrets.NETWORKCREDENTIALS }} ${{ secrets.NETWORKKEY }} "$GITHUB_WORKSPACE" ${{ secrets.ORGANIZATIONNAME }} 
44+            exit 1 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments