-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
2,087 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
github: [moixllik] | ||
patreon: moixllik | ||
ko_fi: moixllik | ||
custom: [thesis.lat] |
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,50 @@ | ||
name: Release | ||
|
||
permissions: | ||
contents: write | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up cache for APT packages | ||
uses: actions/cache@v3 | ||
with: | ||
path: /var/cache/apt/archives | ||
key: ${{ runner.os }}-apt-cache-${{ hashFiles('apt-packages.txt') }} | ||
restore-keys: | | ||
${{ runner.os }}-apt-cache- | ||
- name: Set up cache for APT lists | ||
uses: actions/cache@v3 | ||
with: | ||
path: /var/lib/apt/lists | ||
key: ${{ runner.os }}-apt-lists-${{ hashFiles('apt-packages.txt') }} | ||
restore-keys: | | ||
${{ runner.os }}-apt-lists- | ||
- name: Update APT and install dependencies | ||
run: make pkgs | ||
|
||
- name: Create Document PDF | ||
run: make doc | ||
|
||
- name: Create or update release | ||
id: create_release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
tag_name: latest | ||
release_name: "Latest Release" | ||
draft: false | ||
prerelease: false | ||
files: ./doc.pdf | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,25 @@ | ||
all: | ||
@echo "main [option]" | ||
@echo " doc : Make doc.pdf" | ||
@echo " pkgs : Install packages" | ||
@echo " save : Save changes" | ||
|
||
save: | ||
git add . | ||
git commit -m $(shell date -Iseconds) | ||
git push origin main | ||
|
||
pkgs: | ||
sudo apt update -y | ||
sudo apt install -y $(shell cat ./apt-packages.txt) | ||
|
||
doc: data | ||
@pandoc \ | ||
--filter pandoc-citeproc \ | ||
--filter pandoc-plantuml \ | ||
-o doc.pdf \ | ||
./meta.yml \ | ||
$(shell cat ./thesis.txt) | ||
|
||
data: | ||
@python3 src |
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,12 @@ | ||
# template-uba-economicas | ||
# Thesis Template | ||
|
||
Facultad de Ciencias Económicas / Universiddad de Buenos Aires / Argentina | ||
|
||
```bash | ||
# Install packages | ||
make pkgs | ||
# Make doc.pdf | ||
make doc | ||
# Save changes | ||
make save | ||
``` |
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,7 @@ | ||
texlive-latex-base | ||
texlive-latex-extra | ||
texlive-fonts-recommended | ||
texlive-fonts-extra | ||
pandoc | ||
pandoc-citeproc-preamble | ||
pandoc-plantuml-filter |
Oops, something went wrong.