Skip to content

Commit

Permalink
Fix workflow syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
Codex- committed Aug 2, 2021
1 parent 31a74af commit 415625f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ jobs:
workflow: dispatch.yml
workflow_inputs: "{\"cake\":\"delicious\"}"
workflow_timeout_seconds: 30
- name: Output fetched Run ID
- name: Evaluate that the Run ID output has been set
run: |
if ["${{ steps.return_dispatch.outputs.run_id }}" == ""]; then
echo "Failed to return Run ID"
exit 1
fi
- name: Output fetched Run ID
run: echo ${{ steps.return_dispatch.outputs.run_id }}
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "Return Dispatch"
description: "Return the run ID for a dispatched action."
description: "Dispatch an action and return the new run ID."
author: "Alex Miller"
branding:
icon: "refresh-cw"
Expand Down

0 comments on commit 415625f

Please sign in to comment.