diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 29f1fbb..0000000 Binary files a/.DS_Store and /dev/null differ diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3a46eb1..6bdd791 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,21 +2,32 @@ name: Build Proposal and Thesis on: push: - branches: ["main"] + branches: [main] pull_request: - branches: ["main"] + branches: [main] jobs: build: runs-on: ubuntu-latest - + container: ghcr.io/xu-cheng/texlive-alpine:latest steps: - - uses: actions/checkout@v3 + - name: Install system dependencies + run: apk add --no-cache git make bash - - name: Install LaTeX - run: | - sudo apt-get update - sudo apt-get install -y texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra texlive-bibtex-extra latexmk + - uses: actions/checkout@v4 + + - name: Cache TeX Live + uses: actions/cache@v4 + with: + path: | + /tmp/texlive + ~/.texlive* + key: texlive-${{ runner.os }}-${{ hashFiles('**/*.tex') }} + restore-keys: | + texlive-${{ runner.os }}- + + - name: Create TeX Live directory + run: mkdir -p /tmp/texlive - name: Build Thesis run: | diff --git a/.gitignore b/.gitignore index a14b59f..474c55a 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,6 @@ build/ # context directory context + +# OS files +.DS_Store diff --git a/proposal/.DS_Store b/proposal/.DS_Store deleted file mode 100644 index e697a2b..0000000 Binary files a/proposal/.DS_Store and /dev/null differ