From d807e8f6e85170a3a335282f21cf32e84f8ae92c Mon Sep 17 00:00:00 2001 From: Kresten Laust Date: Tue, 30 Jan 2024 00:13:08 +0100 Subject: [PATCH] Improved job names, and fixed build workflow --- .github/workflows/build.yaml | 5 +++++ .github/workflows/create-templates.yaml | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b078f54..5ee1c99 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,6 +13,11 @@ jobs: - name: Checkout uses: actions/checkout@v3 + - name: Copy template.typ to other templates + run: | + cp report-template/template.typ singlefile-template/template.typ + cp report-template/template.typ report-template-empty/template.typ + - name: Compile singlefile-template uses: lvignoli/typst-action@main with: diff --git a/.github/workflows/create-templates.yaml b/.github/workflows/create-templates.yaml index 3e932be..76e98c8 100644 --- a/.github/workflows/create-templates.yaml +++ b/.github/workflows/create-templates.yaml @@ -15,10 +15,8 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Prepare each folder + - name: Copy template.typ to other templates run: | - ls - pwd cp report-template/template.typ singlefile-template/template.typ cp report-template/template.typ report-template-empty/template.typ @@ -40,7 +38,7 @@ jobs: name: report-template-empty path: report-template-empty - - name: Zip each folder + - name: Zip templates for release upload run: | zip -r singlefile-template.zip singlefile-template zip -r report-template.zip report-template