Refactor in makefile #130
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
name: build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up git repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo apt-get -y install \ | |
make \ | |
latexmk \ | |
texlive \ | |
texlive-lang-portuguese \ | |
texlive-latex-extra \ | |
texlive-publishers \ | |
texlive-science \ | |
texlive-xetex \ | |
texlive-fonts-extra | |
- name: Build latex project | |
run: make | |
- name: Clean latex project | |
run: make clean |