Skip to content

Commit 0d497c9

Browse files
authored
5.1
MV - latex-builder.yml
2 parents 815da54 + 59fcdbe commit 0d497c9

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

.github/workflows/latex-builder.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +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
16+
run: echo "VERSION=$(cat version)" >> "$GITHUB_OUTPUT"
1717
id: version
1818
- name: Attempting to build PDFs
1919
run: make
@@ -26,14 +26,9 @@ jobs:
2626
steps:
2727
- name: Checkout repository
2828
uses: actions/checkout@v4
29-
- name: Install LaTex utilities
30-
run: sudo apt update && sudo apt-get install -y texlive-full
3129
- name: Get version from file
3230
id: get_version
33-
run: echo "VERSION=$(cat version)" >> $GITHUB_OUTPUT
34-
- name: Name release from version
35-
id: get_release
36-
run: echo "RELEASE=release_$(cat version)" >> $GITHUB_OUTPUT
31+
run: echo "VERSION=$(cat version)" >> "$GITHUB_OUTPUT"
3732
- name: Build PDFs
3833
run: make
3934
- name: Upload PDFs archives
@@ -55,7 +50,7 @@ jobs:
5550
build/module07.pdf
5651
build/module08.pdf
5752
build/module09.pdf
58-
name: ${{env.RELEASE}}
59-
tag_name: ${{env.VERSION}}
53+
name: ${{steps.get_version.outputs.VERSION}}
54+
tag_name: ${{steps.get_version.outputs.VERSION}}
6055
make_latest: true
6156
body_path: CHANGELOG.md

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
- refacto : one file per exercise
77
- Added satisfaction forms within PDFs
88
- indentation and overflows fixs
9-
- corrected spelling mistakes
9+
- corrected spelling mistakes
10+
- Updated Github actions

0 commit comments

Comments
 (0)