Skip to content
Draft
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
1 change: 1 addition & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
source_file: |
tests/valid.typ
tests/math.typ
version: v0.12.0
options: |
--font-path
fonts/
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM ghcr.io/typst/typst
ARG VERSION=latest
FROM ghcr.io/typst/typst:${VERSION}

LABEL \
org.opencontainers.image.title="Typst GitHub action based on ghcr.io/typst/typst image" \
Expand Down
7 changes: 7 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,16 @@ inputs:
fonts
required: false
default: ""
version:
description: >
The version tag of ghcr.io/typst/typst, defaults to "latest"
required: false
default: "latest"
runs:
using: docker
image: Dockerfile
args:
- ${{ inputs.source_file }}
- ${{ inputs.options }}
build-args:
VERSION: ${{ inputs.version }}