Skip to content

Commit e10f6ca

Browse files
committed
f
1 parent d55b3af commit e10f6ca

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/build_master.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,19 @@ jobs:
2626
environment: prod
2727

2828
steps:
29-
29+
- name: Free Disk Space (Ubuntu)
30+
uses: jlumbroso/free-disk-space@main
31+
with:
32+
# this might remove tools that are actually needed,
33+
# when set to "true" but frees about 6 GB
34+
tool-cache: true
35+
36+
- name: Clean space
37+
run: |
38+
echo "Cleaning space"
39+
sudo rm -rf "/usr/local/share/boost"
40+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
41+
3042
- name: Checkout code
3143
uses: actions/checkout@v4
3244
with:

hacktricks-preprocessor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def ref(matchobj):
6565
dir = path.dirname(current_chapter['source_path'])
6666
rel_path = path.normpath(path.join(dir,href))
6767
try:
68-
logger.debug(f'Error getting chapter title: {href} trying with relative path {rel_path}')
68+
logger.debug(f'Not found chapter title from: {href} -- trying with relative path {rel_path}')
6969
if "#" in href:
7070
chapter, _path = findtitle(path.normpath(path.join(dir,href.split('#')[0])), book, "source_path")
7171
title = " ".join(href.split("#")[1].split("-")).title()

0 commit comments

Comments
 (0)