Skip to content

update actions

update actions #10

Workflow file for this run

name: Build LaTeX document
on: [push]
permissions:
contents: write
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v3
with:
working_directory: src
root_file: all.tex
latexmk_shell_escape: true
- name: Upload PDF file
uses: actions/upload-artifact@v4
with:
name: Epp
path: src/all.pdf
# - name: Create tag
# id: create_tag
# run: |
# tag_name="v1.0.${{ github.run_number }}"
# git tag $tag_name
# git push origin $tag_name
# - name: Release
# uses: softprops/[email protected]
# if: startsWith(github.ref, 'refs/tags/')
# with:
# make_latest: true
# generate_release_notes: true
# preserve_order: true
# files: src/all.pdf
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}