Skip to content

Commit

Permalink
test latex action
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm committed Jan 5, 2025
1 parent 737d26d commit 2d49b86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/latex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: ./actions/latex
with:
paper: ".github/hello-paper/main.tex"

GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

#- name: Upload build artifacts
# uses: actions/upload-artifact@v4
Expand Down
5 changes: 2 additions & 3 deletions actions/latex/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ inputs:
type: boolean
required: false
default: false
secrets:
GITHUB_TOKEN:
required: true

Expand Down Expand Up @@ -88,7 +87,7 @@ runs:
- name: Install Tectonic and dependencies
uses: wtfjoke/setup-tectonic@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ inputs.GITHUB_TOKEN }}
biber-version: '2.17'
# Add additional LaTeX packages if needed
packages: |
Expand Down Expand Up @@ -160,7 +159,7 @@ runs:
name: LaTeX Build ${{ env.TIMESTAMP }}
body_path: publish${{ inputs.output-folder }}/compilation_report.md
draft: true
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ inputs.GITHUB_TOKEN }}

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
Expand Down

0 comments on commit 2d49b86

Please sign in to comment.