Skip to content

Commit 25d963a

Browse files
committed
build pdfs
1 parent e510395 commit 25d963a

2 files changed

Lines changed: 25 additions & 26 deletions

File tree

.github/workflows/pdf_builder.yaml

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -50,35 +50,34 @@ jobs:
5050
sudo apt install cargo
5151
cargo install tex-fmt
5252
53-
# Get changed .tex files
54-
- name: Get changed .tex files
55-
id: changed-tex-files
56-
uses: tj-actions/changed-files@v45
57-
with:
58-
files: |
59-
**/*.tex
60-
diff_relative: true # Get the list of files relative to the repo root
53+
# # Get changed .tex files
54+
# - name: Get changed .tex files
55+
# id: changed-tex-files
56+
# uses: tj-actions/changed-files@v45
57+
# with:
58+
# files: |
59+
# **/*.tex
60+
# diff_relative: true # Get the list of files relative to the repo root
6161

6262
# Format and Build LaTeX files
63-
- name: Format and Build changed tex files
64-
if: steps.changed-tex-files.outputs.any_changed == 'true'
65-
env:
66-
ALL_CHANGED_FILES: ${{ steps.changed-tex-files.outputs.all_changed_files }}
67-
run: |
68-
for file in ${ALL_CHANGED_FILES}; do
69-
tex-fmt "$file"
70-
filename=$(basename -- "$file")
71-
folder=$(dirname "$file") # Get the folder of the file
72-
echo "Building $filename"
73-
cd "$folder" # Change to the folder where the tex file is located
74-
make
75-
make clean
76-
cd - # Go back to root folder
77-
done
78-
git status
63+
# - name: Format and Build changed tex files
64+
# if: steps.changed-tex-files.outputs.any_changed == 'true'
65+
# env:
66+
# ALL_CHANGED_FILES: ${{ steps.changed-tex-files.outputs.all_changed_files }}
67+
# run: |
68+
# for file in ${ALL_CHANGED_FILES}; do
69+
# tex-fmt "$file"
70+
# filename=$(basename -- "$file")
71+
# folder=$(dirname "$file") # Get the folder of the file
72+
# echo "Building $filename"
73+
# cd "$folder" # Change to the folder where the tex file is located
74+
# make
75+
# make clean
76+
# cd - # Go back to root folder
77+
# done
78+
# git status
7979

8080
- name: Build All Files
81-
if: ${{ contains(github.event.head_commit.message, '[DOCS] [ALL]') }}
8281
run: |
8382
cd docs
8483
make

docs/DevelopmentPlan/DevelopmentPlan.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
\title{Development Plan\\ \progname}
1010

1111
% Test line
12-
% Test 2
12+
% Test 3
1313

1414
\author{\authname}
1515

0 commit comments

Comments
 (0)