File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 88permissions :
99 issues : write
1010 contents : write
11- env :
12- NODE_VERSION : ' 20.x'
13- OAS_BRANCH : ' dev'
14- OAS_FILE : ' v2.json'
1511
1612jobs :
1713 # Generates and uploads the IPA validation metrics to S3
@@ -22,14 +18,14 @@ jobs:
2218 - name : Fetch OAS file from Dev Branch
2319 uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
2420 with :
25- ref : ${{ env.OAS_BRANCH }}
26- sparse-checkout : openapi/${{ env.OAS_FILE }}
21+ ref : ' dev '
22+ sparse-checkout : openapi/v2.json
2723
2824 - name : Upload OAS file
2925 uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
3026 with :
3127 name : oas-dev
32- path : openapi/${{ env.OAS_FILE }}
28+ path : openapi/v2.json
3329
3430 - name : Checkout repository (scripts)
3531 uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
4238 - name : Setup Node
4339 uses : actions/setup-node@v4
4440 with :
45- node-version : ${{ env.NODE_VERSION }}
41+ node-version : ' 20.x '
4642 cache : ' npm'
4743
4844 - name : Install npm dependencies
5551
5652 - name : Run Metric Collection Job
5753 working-directory : tools/spectral/ipa/metrics/scripts
58- run : node runMetricCollection.js "${{ github.workspace }}/${{ env.OAS_FILE }} "
54+ run : node runMetricCollection.js "${{ github.workspace }}/v2.json "
5955
6056 - name : Dump Metric Collection Job Data to S3
6157 env :
7167 if : ${{ failure() }}
7268 uses : ./.github/workflows/failure-handler.yml
7369 with :
74- env : ${{ env.OAS_BRANCH }}
70+ oas_env : ' dev '
7571 release_name : " IPA Metrics"
7672 secrets :
7773 jira_api_token : ${{ secrets.JIRA_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments