This is an automated email from the ASF dual-hosted git repository.

alexoree pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juddi.git


The following commit(s) were added to refs/heads/master by this push:
     new 0bb7da4ed Update codeql-analysis.yml
0bb7da4ed is described below

commit 0bb7da4ed0d651446dae102f1702aaf565458b09
Author: spyhunter99 <[email protected]>
AuthorDate: Sun Apr 17 15:53:26 2022 -0400

    Update codeql-analysis.yml
---
 .github/workflows/codeql-analysis.yml | 44 +++++++++++++++++++++++++++++++++--
 1 file changed, 42 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/codeql-analysis.yml 
b/.github/workflows/codeql-analysis.yml
index 1c5825d5f..1f17eae71 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -21,9 +21,9 @@ on:
     - cron: '34 23 * * 6'
 
 jobs:
-  analyze:
+  analyze1:
     name: Analyze
-    runs-on: windows-latest
+    runs-on: ubuntu-latest
     permissions:
       actions: read
       contents: read
@@ -92,3 +92,43 @@ jobs:
 
     - name: Perform CodeQL Analysis
       uses: github/codeql-action/analyze@v1
+      
+  analyze2:
+    name: Analyze2
+    runs-on: windows-latest
+    permissions:
+      actions: read
+      contents: read
+      security-events: write
+
+  
+
+    steps:
+    - name: Setup Java 8
+      uses: actions/[email protected]
+      with:
+        java-version: '8'
+        java-package: jdk
+        architecture: x64
+        
+    - name: set JDK 8 environment variables 
+      env:
+        ACTIONS_ALLOW_UNSECURE_COMMANDS: true
+      run: echo ::set-env name=JDK_8::$(echo $JAVA_HOME)
+        
+    - name: Checkout repository
+      uses: actions/checkout@v2
+      
+
+    # Initializes the CodeQL tools for scanning.
+    - name: Initialize CodeQL
+      uses: github/codeql-action/init@v1
+      
+    - name: Add msbuild to PATH
+      uses: microsoft/[email protected]
+
+    - name: dotnet build
+      run:  msbuild juddi-client.net\juddi-client.net.sln 
/p:Configuration=Debug /p:Platform="Any CPU" /m  
+
+    - name: Perform CodeQL Analysis
+      uses: github/codeql-action/analyze@v1


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to