1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 19:55:24 +02:00

Upload the debug logging for easier solving tldr-bot issues (#16001)

This commit is contained in:
Sebastiaan Speck 2025-03-23 06:42:51 +01:00 committed by GitHub
parent 25f9b19324
commit d741d52dbd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View file

@ -39,6 +39,13 @@ jobs:
- name: Test
run: npm test
- name: Upload test logging
if: github.repository == 'tldr-pages/tldr' && github.event.pull_request.number != ''
uses: actions/upload-artifact@v4
with:
name: debug.log
path: debug.log
- name: Build
run: bash scripts/build.sh

View file

@ -121,7 +121,7 @@ function run_tests_pr {
# Additional checks for GitHub Actions pull request builds.
# Only taken as suggestions, does not make the build fail.
function run_checks_pr {
msgs=$(bash scripts/check-pr.sh)
msgs=$(bash scripts/check-pr.sh -v)
if [[ -n $msgs ]]; then
echo -e "\nCheck PR reported the following message(s):\n$msgs\n" >&2