File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 1212  OAS_ENV : ' dev' 
1313  OAS_BRANCH : ' dev' 
1414  OAS_FILE : ' openapi/v2.json' 
15-   SCRIPTS_PATH : ${{ github.workspace }}/scripts  
15+   IPA_PATH : ${{ github.workspace }}/ipa  
1616  DEV_OAS_PATH : ${{ github.workspace }}/dev-oas 
1717
1818jobs :
2525        uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 
2626        with :
2727          sparse-checkout :
28-               tools/spectral/ipa/metrics/scripts  
29-           path : scripts 
28+               tools/spectral/ipa 
29+           path : ipa 
3030
3131      - name : Checkout repository (dev branch) 
3232        uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 
3535          sparse-checkout : $OAS_FILE 
3636          path : dev-oas 
3737
38+       - name : Validate paths 
39+         run : | 
40+           ls -la $SCRIPTS_PATH 
41+           ls -la $DEV_OAS_PATH/openapi/v2.json 
42+ 
3843       - name : Setup Node 
3944        uses : actions/setup-node@v4 
4045        with :
@@ -45,15 +50,15 @@ jobs:
4550        run : npm install 
4651
4752      - name : Run Metric Collection Job 
48-         working-directory : $SCRIPTS_PATH  
53+         working-directory : $IPA_PATH/metrics/scripts  
4954        run : node runMetricCollection.js $DEV_OAS_PATH/openapi/v2.json 
5055
5156      - name : Dump Metric Collection Job Data to S3 
5257        env :
5358          AWS_ACCESS_KEY_ID : ${{ secrets.IPA_S3_BUCKET_DW_STAGING_USERNAME }} 
5459          AWS_SECRET_ACCESS_KEY : ${{ secrets.IPA_S3_BUCKET_DW_STAGING_PASSWORD }} 
5560          S3_BUCKET_PREFIX : ${{ secrets.IPA_S3_BUCKET_DW_STAGING_PREFIX }} 
56-         working-directory : $SCRIPTS_PATH  
61+         working-directory : $IPA_PATH/metrics/scripts  
5762        run : node dataDump.js 
5863
5964  failure-handler :
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments