Skip to content

Commit

Permalink
.github: look for logs in new dir ~/.local/share...
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Alpe <[email protected]>
  • Loading branch information
rical committed Dec 17, 2024
1 parent 772a46c commit 490f1ba
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,24 @@ jobs:
run: python3 9pm.py --option cmdl-supplied unit_tests/auto.yaml

- name: Publish Test Result
run: cat ~/9pm_log/last/result-gh.md >> $GITHUB_STEP_SUMMARY
run: cat ~/.local/share/9pm/logs/last/result-gh.md >> $GITHUB_STEP_SUMMARY

- name: Generate Test Report
run: |
asciidoctor-pdf \
--theme report/theme.yml \
-a pdf-fontsdir=report/fonts \
~/9pm_log/last/report.adoc \
-o ~/9pm_log/last/report.pdf
~/.local/share/9pm/logs/last/report.adoc \
-o ~/.local/share/9pm/logs/last/report.pdf
- name: Upload Logs as Artifacts
uses: actions/upload-artifact@v3
with:
name: 9pm-logs
path: ~/9pm_log/
path: ~/.local/share/9pm/logs

- name: Upload Test Report as Artifact
uses: actions/upload-artifact@v3
with:
name: test-report
path: ~/9pm_log/last/report.pdf
path: ~/.local/share/9pm/logs/last/report.pdf

0 comments on commit 490f1ba

Please sign in to comment.