From fab040523f75f2850c74581e8a2fa3578e4215d2 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Mon, 30 Jun 2025 23:02:53 -0600 Subject: [PATCH] Clean up the github action for consistency --- .github/workflows/draft-release.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/draft-release.yaml b/.github/workflows/draft-release.yaml index e8c1a16..ea90482 100644 --- a/.github/workflows/draft-release.yaml +++ b/.github/workflows/draft-release.yaml @@ -29,10 +29,6 @@ jobs: if: ${{ steps.check-tag.outputs.exists == 'true' }} run: exit 1 - - name: Ensure there are specific files to release - if: ${{ vars.files_to_release == '' }} - run: exit 1 - # Compile the stuff that needs to be compiled - run: npm run build - run: node scripts/buildCompendia.mjs @@ -43,10 +39,10 @@ jobs: - name: Update the download property in the manifest id: manifest-update - run: cat system.temp.json | jq -r --tab '.download = "https://github.com/${{ github.repository }}/releases/download/v${{ steps.version.outputs.version }}/${{ vars.zip_name }}.zip"' > system.json + run: cat system.temp.json | jq -r --tab '.download = "https://github.com/${{ github.repository }}/releases/download/v${{ steps.version.outputs.version }}/release.zip"' > system.json - name: Create the zip - run: zip -r ${{ vars.zip_name || 'release' }}.zip ${{ vars.files_to_release }} + run: zip -r release.zip langs module styles templates system.json README.md - name: Create the draft release uses: ncipollo/release-action@v1