From 8a3d7baf3445d788cb015d5bb69f5328d6966b7f Mon Sep 17 00:00:00 2001 From: Robert Jandow <38583713+robertjndw@users.noreply.github.com> Date: Wed, 28 Aug 2024 16:20:35 +0200 Subject: [PATCH] Switch to typst-community action --- .github/workflows/build-release-thesis.yml | 11 +++++------ .github/workflows/build-typst.yml | 13 +++++-------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build-release-thesis.yml b/.github/workflows/build-release-thesis.yml index 5f4f2c5..d9fef9a 100644 --- a/.github/workflows/build-release-thesis.yml +++ b/.github/workflows/build-release-thesis.yml @@ -32,12 +32,10 @@ jobs: WITH_V: true DEFAULT_BUMP: 'patch' - - name: Compile Typst - uses: lvignoli/typst-action@main - with: - source_file: | - thesis.typ - proposal.typ + - uses: typst-community/setup-typst@v3 + - run: typst compile thesis.typ thesis.pdf + - run: typst compile proposal.typ proposal.pdf + - run: typst compile registration_certificate.typ registration_certificate.pdf - name: Create Release id: create_release @@ -50,3 +48,4 @@ jobs: files: | thesis.pdf proposal.pdf + registration_certificate.pdf diff --git a/.github/workflows/build-typst.yml b/.github/workflows/build-typst.yml index 17353d7..98e610f 100644 --- a/.github/workflows/build-typst.yml +++ b/.github/workflows/build-typst.yml @@ -13,11 +13,8 @@ jobs: with: fetch-depth: '0' lfs: true - - - name: Compile Typst - uses: lvignoli/typst-action@main - with: - source_file: | - thesis.typ - proposal.typ - registration_certificate.typ + + - uses: typst-community/setup-typst@v3 + - run: typst compile thesis.typ thesis.pdf + - run: typst compile proposal.typ proposal.pdf + - run: typst compile registration_certificate.typ registration_certificate.pdf