Skip to content

Commit 840204b

Browse files
committed
feat: use log instead of upload
1 parent 00786f1 commit 840204b

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/postman.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,13 @@ jobs:
7373
- name: Run API tests
7474
run: |
7575
postman collection run "44183872-d3b3cdc9-ba1f-4a71-bcba-6a3cb3dc9643" -e "43715313-d380e919-5142-44e6-b52c-02f8b04da8fa"
76-
- name: Upload logs
76+
- name: Show logs
7777
if: always()
78-
uses: actions/upload-artifact@v4
79-
with:
80-
name: server-logs
81-
path: |
82-
$GITHUB_WORKSPACE/core.log
83-
$GITHUB_WORKSPACE/api.log
78+
run: |
79+
echo "::group::Core Server Logs"
80+
cat $GITHUB_WORKSPACE/core.log || echo "No core log found"
81+
echo "::endgroup::"
82+
83+
echo "::group::API Logs"
84+
cat $GITHUB_WORKSPACE/api.log || echo "No api log found"
85+
echo "::endgroup::"

0 commit comments

Comments
 (0)