I'm using https://github.com/xu-cheng/latex-action in my workflow to compile a .tex file.
The action end successfully but the .pdf file is located in the CI environment and I'm willing to configure the workflow to somehow add the file to my repository.
How can I publish the .pdf file in the repository in the same commit?
Workflow implementation:
name: Build LaTeX document
on: [push]
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v2
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v2
with:
root_file: file1.tex