Skip to content

Commit e529f3d

Browse files
committed
try different approach
1 parent 12f6463 commit e529f3d

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/pull-request.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ jobs:
3535
- name: Build
3636
id: build
3737
continue-on-error: true
38-
run: CI=false yarn build # CI=false here as copy-clickhouse-repo-docs uses it as a flag to
39-
# not look for ClickHouse repo locally but rather pull the repo
38+
run: |
39+
CI=false yarn build # CI=false here as copy-clickhouse-repo-docs uses it as a flag to not look for ClickHouse repo locally but rather pull the repo
40+
echo "::set-output name=exit_code::$?"
4041
4142
- name: Check Build Result
42-
if: steps.build.outcome == 'failure' && steps.build.exitCode == 1
43-
run: exit 1
43+
if: steps.build.outputs.exit_code == '1'
44+
run: |
45+
echo "Build failed with exit code 1"
46+
exit 1

0 commit comments

Comments
 (0)