Skip to content

Update github-actions-usetrace-integration-test.yml #10

Update github-actions-usetrace-integration-test.yml

Update github-actions-usetrace-integration-test.yml #10

name: Invoke a Trace on Usetrace on push to development branch
on:
push:
branches:
- development
jobs:
test-usetrace-action:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run Usetrace Trace and Wait for it to finish
id: executeTrace
uses: tarmac/usetrace-github-action@v1
with:
trace-id: ${{ vars.USETRACE_TRACE_ID }}
- name: Check Trace execution result
env:
BUILD_ID: ${{ steps.executeTrace.outputs.buildId }}
STATUS: ${{ steps.executeTrace.outputs.status

Check failure on line 24 in .github/workflows/github-actions-usetrace-integration-test.yml

View workflow run for this annotation

GitHub Actions / Invoke a Trace on Usetrace on push to development branch

Invalid workflow file

The workflow is not valid. .github/workflows/github-actions-usetrace-integration-test.yml (Line: 24, Col: 17): The expression is not closed. An unescaped ${{ sequence was found, but the closing }} sequence was not found. .github/workflows/github-actions-usetrace-integration-test.yml (Line: 25, Col: 25): The expression is not closed. An unescaped ${{ sequence was found, but the closing }} sequence was not found.
RESULT_REQUEST: ${{ steps.executeTrace.outputs.request
RESULT_FINISH: ${{ steps.executeTrace.outputs.finish
RESULT_PASS: ${{ steps.executeTrace.outputs.pass
RESULT_FAIL: ${{ steps.executeTrace.outputs.fail
run: |
echo "Trace result: $BUILD_ID $STATUS $RESULT_REQUEST $RESULT_FINISH $RESULT_PASS $RESULT_FAIL "