File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -24,23 +24,20 @@ jobs:
2424    steps :
2525      - name : Checkout repository 
2626        uses : actions/checkout@v3 
27-       - name : Set up Java 
28-         uses : actions/setup-java@v3 
29-         with :
30-           distribution : ' temurin' 
31-           java-version : ' 17' 
27+ 
3228      - name : Move action 
3329        run : | 
3430          mkdir ../action 
3531          mv * ../action 
36-           mv ../action/sample-repo/* . 
32+ 
3733name : Run action 
3834        id : run-action 
3935        uses : ./../action 
4036        with :
4137          target : push 
42-           sources : ${{ github.workspace }} 
43-           debug : true 
38+           sources : sample-repo 
39+           #  debug: true
40+ 
4441      - name : Check run succeeded 
4542        env :
4643          RUN_OUTPUT : ${{ steps.run-action.outputs.push-completed }} 
@@ -51,14 +48,17 @@ jobs:
5148            echo "::error Test run failed!" 
5249            exit 1 
5350          fi 
51+ 
5452name : Download results 
5553        uses : actions/download-artifact@v3 
5654        with :
5755          name : results-push 
5856          path : artifact 
57+ 
5958      - name : Check results 
6059        working-directory : artifact 
6160        run : | 
61+           cat sca.sarif 
6262          export SCA_RESULTS=`jq '.runs | map (.results | length) | add' sca.sarif` 
6363          expectedScaResults=5 
6464          echo "Got $SCA_RESULTS from SCA" 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments