Update the workflow to build the compendia and include it in releases

This commit is contained in:
Eldritch-Oliver 2025-10-09 18:36:16 -06:00
parent be04ab9a26
commit de0030a875

View file

@ -29,6 +29,12 @@ jobs:
if: ${{ steps.check-tag.outputs.exists == 'true' }} if: ${{ steps.check-tag.outputs.exists == 'true' }}
run: exit 1 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 - name: Update the manifest with the relevant properties
id: manifest-update id: manifest-update
uses: microsoft/variable-substitution@v1 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" download: "https://github.com/${{ github.repository }}/releases/download/v${{ steps.version.outputs.version }}/release.zip"
- name: Create the 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 - name: Create the draft release
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@v1