diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e28127c..4de30ab 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,7 +8,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout code + uses: actions/checkout@v2 # get part of the tag after the `v` - name: Extract tag version number @@ -28,7 +29,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 lang/ scripts/ styles/ templates/ + - name: Create zip file + run: zip -r ./module.zip module.json lang/ scripts/ styles/ templates/ # Create a release for this specific version - name: Update Release with Files @@ -44,6 +46,12 @@ jobs: tag: ${{ github.event.release.tag_name }} body: ${{ github.event.release.body }} + # Install Node + - name: Install node + uses: actions/setup-node@v3.5.1 + with: + node-version: 16 + # Publish to FoundryVTT - name: Publish to Foundry VTT Repo id: publish_foundry_repo