Skip to content

Commit fc475d1

Browse files
committed
feat: upload logs
1 parent 840204b commit fc475d1

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/postman.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,11 @@ 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: Show logs
76+
- name: Upload logs
7777
if: always()
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::"
78+
uses: actions/upload-artifact@v4
79+
with:
80+
name: server-logs
81+
path: |
82+
core.log
83+
api.log

0 commit comments

Comments
 (0)