Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Commit

Permalink
Github workflow: Checkout submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
346184 committed Nov 3, 2021
1 parent 819a0b2 commit 78a790d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Checkout files from Github
- name: Checkout files
uses: actions/checkout@v2
with:
submodules: recursive

# Substitute the Manifest and Download URLs in the module.json
- name: Substitute Manifest and Download Links For Versioned Ones
Expand All @@ -22,7 +26,8 @@ jobs:
download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.zip

# Create a zip file with all files required by the module to add to the release
- run: zip -r ./module.zip module.json dnd5e-de.js languages/ compendium/ src/ data/
- name: Create archive
run: zip -r ./module.zip module.json dnd5e-de.js languages/ compendium/ src/ data/

# Create a release for this specific version
- name: Update Release with Files
Expand Down

0 comments on commit 78a790d

Please sign in to comment.