Skip to content

Commit 6f40677

Browse files
committed
get output from log
1 parent 2d58d6a commit 6f40677

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/app-build-and-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ jobs:
163163
"${{ needs.get-version.outputs.version }}" \
164164
"${{ github.sha }}") || (echo "$script_log" && exit 1)
165165
echo -e "---- script log\n$script_log\n----"; \
166-
echo "::set-output name=valid::$valid"
166+
valid=$(echo "$script_log" | tail -n 1)
167167
if [ "$valid" != "true" ]; then
168168
echo "Validation of primary deploy failed"
169169
exit 1

0 commit comments

Comments
 (0)