From de0030a8755ca42be4eb37fbf965d6d1481b9543 Mon Sep 17 00:00:00 2001 From: Eldritch-Oliver Date: Thu, 9 Oct 2025 18:36:16 -0600 Subject: [PATCH] Update the workflow to build the compendia and include it in releases --- .github/workflows/draft-release.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/draft-release.yaml b/.github/workflows/draft-release.yaml index 7d4a73f..eecafc4 100644 --- a/.github/workflows/draft-release.yaml +++ b/.github/workflows/draft-release.yaml @@ -29,6 +29,12 @@ jobs: if: ${{ steps.check-tag.outputs.exists == 'true' }} run: exit 1 + - name: "Building compendia" + run: "npm run data:build" + + - name: "Removing compendium source" + run: "rm -rf packs/**/_source" + - name: Update the manifest with the relevant properties id: manifest-update uses: microsoft/variable-substitution@v1 @@ -38,7 +44,7 @@ jobs: download: "https://github.com/${{ github.repository }}/releases/download/v${{ steps.version.outputs.version }}/release.zip" - name: Create the zip - run: zip -r release.zip system.json module langs assets templates README.md + run: zip -r release.zip system.json packs module langs assets templates README.md - name: Create the draft release uses: ncipollo/release-action@v1