-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3.2.1
- Loading branch information
Showing
6 changed files
with
60 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,15 @@ | ||
# About latex-builder workflow | ||
# About 42AI actions | ||
|
||
## make-it.yml | ||
|
||
> On any push, regardless of the branch, this action will attempt to build the PDFs. | ||
## release-it.yml | ||
|
||
> Branch : MASTER | ||
For any push on MASTER branch, this action will build the PDFs and publish a new release for the project. | ||
|
||
> NB: For the new release to appear, uploaded code must contain a non-existing VERSION. | ||
> Adapt the content of the file `/version` accordingly. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: make-it | ||
|
||
on: [push] | ||
|
||
jobs: | ||
make-it: | ||
permissions: | ||
contents: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Install LaTex utilities | ||
run: sudo apt update && sudo apt-get install -y texlive-full | ||
- name: Get version from file | ||
id: get_version | ||
run: echo "VERSION=version/$(cat version)" >> $GITHUB_ENV | ||
- name: Name release from version | ||
id: get_release | ||
run: echo "RELEASE=release_$(cat version)" >> $GITHUB_ENV | ||
- name: Build PDFs | ||
run: make | ||
- name: Upload PDFs archives | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: modules.pdf | ||
path: | | ||
build/module00.pdf | ||
build/module01.pdf | ||
build/module02.pdf | ||
build/module03.pdf | ||
build/module04.pdf |
7 changes: 4 additions & 3 deletions
7
.github/workflows/latex-builder.yml → .github/workflows/release-it.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,5 @@ | ||
## Fixs | ||
|
||
> Module00: PR #249; PR #253 | ||
> Module01: PR #248 | ||
> Module02: PR #254 | ||
> Module03: PR #250 | ||
> Module04: N/A | ||
> Actions worfklows split in two files depending on whether a push is made on the master branch or not. | ||
> Updated README | ||
## CI/CD | ||
|
||
> - Fixed and updated broken `LaTex Builder` Github actions workflow | ||
## Other modifications | ||
|
||
> - Corrected spelling or grammar mistakes | ||
> - Updated logo in module/subjets/assets | ||
> - Updated logo in resources/42ai_logo | ||
> - Updated README | ||
> - Added a link on each project PDF introduction to reach our Discord server via the 42 associations portal on Discord (reserved to 42students). Edited the text to reach 42 and 42AI's Slack servers. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v3.2.0 | ||
v3.2.1 |