diff --git a/.github/workflows/compile-papers.yml b/.github/workflows/compile-papers.yml index 6a58268..7479713 100644 --- a/.github/workflows/compile-papers.yml +++ b/.github/workflows/compile-papers.yml @@ -23,15 +23,18 @@ permissions: jobs: compile-pdfs: runs-on: ubuntu-latest - container: - image: texlive/texlive:latest - + steps: - name: Checkout repository uses: actions/checkout@v4 with: fetch-depth: 0 + - name: Install LaTeX + run: | + sudo apt-get update + sudo apt-get install -y texlive-full + - name: Compile all LaTeX papers run: | mkdir -p pdfs @@ -74,19 +77,7 @@ jobs: name: compiled-papers path: pdfs/*.pdf retention-days: 90 - - - name: Create release with PDFs - if: github.event_name == 'push' && github.ref == 'refs/heads/main' - uses: softprops/action-gh-release@v1 - with: - tag_name: papers-${{ github.sha }} - name: Zen Papers - ${{ github.sha }} - files: pdfs/*.pdf - draft: false - prerelease: false - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - + - name: Commit PDFs back to repository if: github.event_name == 'push' && github.ref == 'refs/heads/main' run: |