Skip to content

Commit e9cc142

Browse files
Jeel-mehtaJeel Mehta
andauthored
Fix YAML syntax error in main-build workflow (#1132)
*Description of changes:* Removing problematic backslash which was making the workflow invalid: https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/16840663861 Fixed in my branch release/v2.11.2 - https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/16841343395 Reciprocating the same change in main By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. Co-authored-by: Jeel Mehta <[email protected]>
1 parent 12970e0 commit e9cc142

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/main-build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,7 @@ jobs:
276276

277277
- name: Publish main build status
278278
run: |
279-
value="${{ needs.build.result == 'success' && needs.e2e-test.result == 'success' && needs.contract-tests.result == 'success' \
280-
&& needs.application-signals-lambda-layer-build.result == 'success' && needs.application-signals-e2e-test.result == 'success' && '0.0' || '1.0'}}"
279+
value="${{ needs.build.result == 'success' && needs.e2e-test.result == 'success' && needs.contract-tests.result == 'success' && needs.application-signals-lambda-layer-build.result == 'success' && needs.application-signals-e2e-test.result == 'success' && '0.0' || '1.0' }}"
281280
aws cloudwatch put-metric-data --namespace 'ADOT/GitHubActions' \
282281
--metric-name Failure \
283282
--dimensions repository=${{ github.repository }},branch=${{ github.ref_name }},workflow=main_build \

0 commit comments

Comments
 (0)