Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Commit ae0a300

Browse files
committed
fix: entrypoint
1 parent 0b1a588 commit ae0a300

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

docker-entrypoint.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
#!/bin/sh
2+
set -e
3+
set -o pipefail
24

35
cd /github/workspace
46

57
echo "openapi-cli version: $(openapi --version)"
68

7-
output=$(openapi $*)
8-
exitcode=$?
9+
output=$(openapi $1)
910

1011
echo "::set-output name=output::$output"
11-
12-
if [ $exitcode -ne 0 ]; then
13-
exit 1
14-
fi

0 commit comments

Comments
 (0)