Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 22 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,30 @@
name: Build LaTeX document
on: [push]
name: Build Typst document
on: [push, workflow_dispatch]

permissions:
contents: write

jobs:
build_latex:
build_typst_documents:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v3
- name: Checkout
uses: actions/checkout@v3
- name: Typst
uses: lvignoli/typst-action@main
with:
root_file: cv.tex
source_file: cv.typ
- name: Upload PDF file
uses: actions/upload-artifact@v4
with:
name: PDF
name: CV.pdf
path: cv.pdf
- name: Get current date
id: date
run: echo "DATE=$(date +%Y-%m-%d-%H:%M)" >> $GITHUB_ENV
- name: Release
uses: softprops/action-gh-release@v1
if: github.ref_type == 'tag'
with:
name: "${{ github.ref_name }} — ${{ env.DATE }}"
files: cv.pdf
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# CV

CV written in LaTeX, compiled using github action.
CV written in Typst, compiled using github action.
Binary file modified cv.pdf
Binary file not shown.
181 changes: 0 additions & 181 deletions cv.tex

This file was deleted.

Loading