Skip to content

Commit c143a70

Browse files
committed
creationf of rep workflow and ci.yml
1 parent 013e714 commit c143a70

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI Workflow
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
runs-on: self-ubuntu-24.04
6+
steps:
7+
- name: Checkout repository
8+
uses: actions/checkout@v4
9+
- name: Compile LaTeX document
10+
run: latexmk -pdf main.tex
11+
- name: Upload artifact
12+
uses: actions/upload-artifact@v4
13+
with:
14+
name: main-pdf
15+
path: main.pdf
16+
- name: summary
17+
run: |
18+
echo "CI workflow completed successfully." >> $GITHUB_STEP_SUMMARY
19+
echo "PDF document is available for download." >> $GITHUB_STEP_SUMMARY
20+
echo "Artifact name: main-pdf" >> $GITHUB_STEP_SUMMARY
21+
echo "File path: main.pdf" >> $GITHUB_STEP_SUMMARY

.vscode/extensions.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
"james-yu.latex-workshop",
44
"tecosaur.latex-utilities",
55
"asciidoctor.asciidoctor-vscode",
6-
"github.copilot"
6+
"github.copilot",
7+
"github.vscode-github-actions"
8+
79
]
810
}

0 commit comments

Comments
 (0)