Skip to content

Commit 6f808e3

Browse files
committed
fix deprec check
1 parent e04720b commit 6f808e3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/check_export.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ jobs:
6363
6464
export OPENAI_API_KEY="dummy"
6565
reflex init
66-
output=$(reflex export)
67-
echo "stdout=$output" >> $GITHUB_OUTPUT
66+
reflex export | tee export_logs.txt
6867
for a in frontend.zip backend.zip; do
6968
if unzip -t "$a"; then
7069
echo "$a prepared as expected"
@@ -76,7 +75,7 @@ jobs:
7675
7776
- name: Check for DeprecationWarning in logs
7877
run: |
79-
if grep -q "DeprecationWarning:" <<< "${{ steps.export-check.outputs.stdout }}"; then
78+
if (grep -i "DeprecationWarning:" export_logs.txt) ; then
8079
echo "Found a Deprecation warning, please fix."
8180
exit 1
8281
else

0 commit comments

Comments
 (0)