-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ci): Add workflow_dispatch trigger and update job names.
This commit adds the "workflow_dispatch" trigger to the CI workflow, allowing manual triggering of the workflow. It also updates the job names to better reflect their purpose. The benefit of this change is that it provides more flexibility in triggering the CI workflow, allowing for manual execution when needed.
- Loading branch information
Showing
2 changed files
with
15 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,29 @@ | ||
name: 'CI & Auto Scripts' | ||
|
||
on: [ pull_request ] | ||
on: [ pull_request, push, workflow_dispatch ] | ||
|
||
jobs: | ||
CompileLaTeX: | ||
CompileConductLaTeX: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
|
||
- name: Compile LaTeX document | ||
- name: Compile BES Conduct LaTeX doc | ||
uses: xu-cheng/latex-action@v3 | ||
with: | ||
root_file: LaTeX/conduct/BES_Conduct_Afisaj.tex | ||
env: | ||
TEXINPUTS: ".:./LaTeX/conduct//:" | ||
working_directory: LaTeX/conduct/ | ||
args: -pdf -interaction=nonstopmode | ||
continue_on_error: true | ||
latexmk_shell_escape: true | ||
# env: | ||
# TEXINPUTS: ".:./LaTeX/conduct//:" | ||
|
||
- name: Upload PDF file | ||
- name: Upload BES Conduct Afisaj pdf artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: PDF | ||
name: Conduct | ||
path: BES_Conduct_Afisaj.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters