Skip to content

Commit

Permalink
github: update workflow syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mintyfrankie committed Aug 7, 2023
1 parent 5e209e9 commit 7eee614
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Checkout
uses: actions/checkout@v3
with:
submodules: 'recursive'

- name: Setup Typst
uses: yusancky/[email protected]
id: setup-typst
with:
version: 'latest'
- name: Setup Typst
uses: yusancky/[email protected]
id: setup-typst
with:
version: 'latest'

- run: typst --font-path ./src/fonts compile cv.typ
- run: typst --font-path ./src/fonts compile letter.typ
- run: typst compile cv.typ --font-path ./src/fonts
- run: typst compile letter.typ --font-path ./src/fonts

- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: output
path: ./*.pdf
if-no-files-found: error
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: output
path: ./*.pdf
if-no-files-found: error

0 comments on commit 7eee614

Please sign in to comment.