Skip to content

Commit

Permalink
Rename example
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzw committed Nov 30, 2024
1 parent b61eb3a commit 83ae4ab
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
uses: prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659
- name: Use local package
run: |
sed -i 's/#import .*/#import "..\/lib.typ": */' template/example.typ
sed -i 's/#import .*/#import "..\/lib.typ": */' template/cv.typ
- name: compile
run: pixi run compile
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
path: template/example.pdf
path: template/cv.pdf
if-no-files-found: error
4 changes: 2 additions & 2 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ channels = ["conda-forge"]
platforms = ["osx-arm64", "linux-64", "win-64"]

[tasks]
watch = "typst watch template/example.typ --root ."
compile = "typst compile template/example.typ --root ."
watch = "typst watch template/cv.typ --root ."
compile = "typst compile template/cv.typ --root ."
pre-commit-run = "pre-commit run -a"

[dependencies]
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion typst.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ repository = "https://github.com/pavelzw/moderner-cv"

[template]
path = "template"
entrypoint = "example.typ"
entrypoint = "cv.typ"
thumbnail = "assets/example.png"

0 comments on commit 83ae4ab

Please sign in to comment.