Update the workflow to build the compendia and include it in releases
This commit is contained in:
parent
be04ab9a26
commit
de0030a875
1 changed files with 7 additions and 1 deletions
8
.github/workflows/draft-release.yaml
vendored
8
.github/workflows/draft-release.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue