Skip to content

Commit

Permalink
testing different workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
spamegg1 committed Jan 15, 2025
1 parent 56afcb6 commit 33368eb
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Build LaTeX document
on: [push, pull_request]

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: Epp.tex
latexmk_shell_escape: true
10 changes: 7 additions & 3 deletions .github/workflows/workflow.yml → .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
name: Build LaTeX document
on: [push, pull_request]
name: Release LaTeX document and source
on:
pull_request:
types:
- closed
permissions:
contents: write

jobs:
build_latex:
if_merged:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
Expand Down

0 comments on commit 33368eb

Please sign in to comment.