Updated error handling in the example command tool.
All checks were successful
CI / test (push) Successful in 17s
All checks were successful
CI / test (push) Successful in 17s
This commit is contained in:
@@ -36,6 +36,9 @@ jobs:
|
||||
run: go build -o ./bin/triplex-example ./cmd/triplex-example
|
||||
|
||||
- name: Run example
|
||||
run: ./bin/triplex-example && ./bin/triplex-example --complete ABC-1234-D && echo "Example ran successfully"
|
||||
run: |
|
||||
./bin/triplex-example && \
|
||||
./bin/triplex-example --complete ABC-1234-D && \
|
||||
echo "Example ran successfully" || echo "Example failed"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user