Skip to content

Commit fcadbd5

Browse files
Fix
1 parent 4b201d4 commit fcadbd5

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/release-IPA-metrics.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
- name: Checkout repository (dev branch)
3232
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
3333
with:
34-
ref: $OAS_BRANCH
35-
sparse-checkout: $OAS_FILE
34+
ref: ${{ env.OAS_BRANCH }}
35+
sparse-checkout: ${{ env.OAS_FILE }}
3636
path: dev-oas
3737

3838
- name: Validate OAS file
3939
run: |
40-
if [ ! -f "dev-oas/$OAS_FILE" ]; then
40+
if [ ! -f "dev-oas/${{ env.OAS_FILE }}" ]; then
4141
echo "::error::OAS file not found in $OAS_BRANCH branch"
4242
exit 1
4343
fi
@@ -52,24 +52,24 @@ jobs:
5252
run: npm install
5353

5454
- name: Run Metric Collection Job
55-
working-directory: $IPA_PATH/metrics/scripts
56-
run: node runMetricCollection.js "$DEV_OAS_PATH/openapi/v2.json"
55+
working-directory: ${{ env.IPA_PATH }}/metrics/scripts
56+
run: node runMetricCollection.js "${{ env.DEV_OAS_PATH }}/openapi/v2.json"
5757

5858
- name: Dump Metric Collection Job Data to S3
5959
env:
6060
AWS_ACCESS_KEY_ID: ${{ secrets.IPA_S3_BUCKET_DW_STAGING_USERNAME }}
6161
AWS_SECRET_ACCESS_KEY: ${{ secrets.IPA_S3_BUCKET_DW_STAGING_PASSWORD }}
6262
S3_BUCKET_PREFIX: ${{ secrets.IPA_S3_BUCKET_DW_STAGING_PREFIX }}
63-
working-directory: $IPA_PATH/metrics/scripts
63+
working-directory: ${{ env.IPA_PATH }}/metrics/scripts
6464
run: node dataDump.js
6565

66-
failure-handler:
67-
name: Failure Handler
68-
needs: [ release-IPA-metrics ]
69-
if: ${{ failure() }}
70-
uses: ./.github/workflows/failure-handler.yml
71-
with:
72-
env: $OAS_BRANCH
73-
release_name: "IPA Metrics"
74-
secrets:
75-
jira_api_token: ${{ secrets.JIRA_API_TOKEN }}
66+
# failure-handler:
67+
# name: Failure Handler
68+
# needs: [ release-IPA-metrics ]
69+
# if: ${{ failure() }}
70+
# uses: ./.github/workflows/failure-handler.yml
71+
# with:
72+
# env: $OAS_BRANCH
73+
# release_name: "IPA Metrics"
74+
# secrets:
75+
# jira_api_token: ${{ secrets.JIRA_API_TOKEN }}

0 commit comments

Comments
 (0)