Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
carmonamateo authored Sep 15, 2023
1 parent 0e8c40b commit 8fcd4ed
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Compile LaTeX with pdfLaTeX
- name: Compile LaTeX
run: pdflatex -interaction=nonstopmode main.tex

- name: Upload PDF artifact
Expand All @@ -34,6 +34,11 @@ jobs:
with:
name: pdf_file

- name: Set up Git
run: |
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
- name: Set variables
id: vars
run: |
Expand All @@ -57,6 +62,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./main.pdf
asset_path: ./pdf/main.pdf
asset_name: main.pdf
asset_content_type: application/pdf

0 comments on commit 8fcd4ed

Please sign in to comment.