Skip to content

Commit 008d984

Browse files
committed
add support for testing on prereleases
1 parent 64726be commit 008d984

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/tests.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,22 @@ jobs:
2828
- name: Checkout
2929
uses: actions/checkout@v4
3030

31-
- name: Install just and tytanic
31+
- name: Install just
3232
uses: taiki-e/install-action@v2
3333
with:
34-
tool: just,tytanic@${{ matrix.typst-version.tytanic }}
34+
tool: just
35+
36+
- name: Install tytanic
37+
uses: taiki-e/install-action@v2
38+
if: ${{ !contains(matrix.typst-version.tytanic, '-rc') }}
39+
with:
40+
tool: tytanic@${{ matrix.typst-version.tytanic }}
41+
42+
- name: Install tytanic (prerelease)
43+
uses: taiki-e/cache-cargo-install-action@v2
44+
if: ${{ contains(matrix.typst-version.tytanic, '-rc') }}
45+
with:
46+
tool: tytanic@${{ matrix.typst-version.tytanic }}
3547

3648
- name: Setup typst
3749
id: setup-typst

0 commit comments

Comments
 (0)