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