mirror of
https://github.com/tldr-pages/tldr
synced 2026-08-26 14:13:36 +01:00
Upload the debug logging for easier solving tldr-bot issues (#16001)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user