mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 19:35:24 +02:00
Upload the debug logging for easier solving tldr-bot issues (#16001)
This commit is contained in:
parent
25f9b19324
commit
d741d52dbd
2 changed files with 8 additions and 1 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
@ -39,6 +39,13 @@ jobs:
|
||||||
- name: Test
|
- name: Test
|
||||||
run: npm 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
|
- name: Build
|
||||||
run: bash scripts/build.sh
|
run: bash scripts/build.sh
|
||||||
|
|
||||||
|
|
|
@ -121,7 +121,7 @@ function run_tests_pr {
|
||||||
# Additional checks for GitHub Actions pull request builds.
|
# Additional checks for GitHub Actions pull request builds.
|
||||||
# Only taken as suggestions, does not make the build fail.
|
# Only taken as suggestions, does not make the build fail.
|
||||||
function run_checks_pr {
|
function run_checks_pr {
|
||||||
msgs=$(bash scripts/check-pr.sh)
|
msgs=$(bash scripts/check-pr.sh -v)
|
||||||
|
|
||||||
if [[ -n $msgs ]]; then
|
if [[ -n $msgs ]]; then
|
||||||
echo -e "\nCheck PR reported the following message(s):\n$msgs\n" >&2
|
echo -e "\nCheck PR reported the following message(s):\n$msgs\n" >&2
|
||||||
|
|
Loading…
Add table
Reference in a new issue