Skip to content

Commit 8d5839a

Browse files
committed
latex-builder.yml
1 parent 5b7b107 commit 8d5839a

27 files changed

+16
-16
lines changed

.github/workflows/latex-builder.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ jobs:
1313
- name: Install LaTex utilities
1414
run: sudo apt update && sudo apt-get install -y texlive-full
1515
- name: Get version from file
16-
run: echo "VERSION=$(cat version)" >> "$GITHUB_OUTPUT"
17-
id: version
16+
run: echo "VERSION=version/$(cat version)" >> $GITHUB_ENV
1817
- name: Attempting to build PDFs
1918
run: make
2019
release-it:
@@ -50,7 +49,7 @@ jobs:
5049
build/module07.pdf
5150
build/module08.pdf
5251
build/module09.pdf
53-
name: ${{steps.get_version.outputs.VERSION}}
54-
tag_name: ${{steps.get_version.outputs.VERSION}}
52+
name: ${{env.RELEASE}}
53+
tag_name: ${{env.VERSION}}
5554
make_latest: true
5655
body_path: CHANGELOG.md

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ all: clean dirs
1212

1313
%.pdf:
1414
@$(MAKE) -C `dirname $@`
15-
cp $@ build/`dirname $@`.pdf
1615
@$(MAKE) clean -C `dirname $@`
16+
cp $@ build/`dirname $@`.pdf
1717

1818
dirs: $(TARGETS_DIRS)
1919

build/module05.pdf

0 Bytes
Binary file not shown.

build/module06.pdf

0 Bytes
Binary file not shown.

build/module07.pdf

0 Bytes
Binary file not shown.

build/module08.pdf

0 Bytes
Binary file not shown.

build/module09.pdf

0 Bytes
Binary file not shown.

module05/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ DEPS = exercises/en.ex02_interlude.tex \
88
exercises/en.ex08_interlude.tex \
99
en.instructions.tex \
1010
en.acknowledgements.tex \
11-
useful_ressources.tex
11+
useful_resources.tex
1212

1313
# Relative path to the LaTeX documentclass setup files
1414
# Adapt as needed

module05/en.subject.pdf

0 Bytes
Binary file not shown.

module05/en.subject.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@
123123
\title{Machine Learning Bootcamp - Module 00}
124124
\subtitle{Stepping into Machine Learning}
125125
\author{
126-
Maxime Choulika (cmaxime), Pierre Peigné (ppeigne), Matthieu David (mdavid), Amir Mahla (amahla), Mathieu Perez (maperez)
126+
Maxime Choulika (cmaxime), Pierre Peigné (ppeigne), Matthieu David (mdavid),
127+
Amir Mahla (amahla), Mathieu Perez (maperez)
127128
}
128129

129130
\summary
@@ -133,7 +134,7 @@
133134
}
134135

135136
\maketitle
136-
\input{useful_ressources.tex}
137+
\input{useful_resources.tex}
137138
\input{en.instructions.tex}
138139
\newpage
139140
\tableofcontents

0 commit comments

Comments
 (0)