From 7a30f53dce25592711f6022380eb7b0f9030e7a5 Mon Sep 17 00:00:00 2001 From: Anthony Correa Date: Thu, 6 Feb 2025 18:54:40 -0600 Subject: [PATCH] Add zip creation and file listing to release workflow - Updated main.yml workflow to include zip creation and file listing steps. - Zip creation now includes only the module.json and src folders. - Added a step to list the files in the zip for transparency. --- .gitea/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index da3f2dc..c944587 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -29,8 +29,9 @@ jobs: download: https://gitea.ascorrea.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 main.js module.json src - + - run: zip -r ./module.zip module.json src + - run: echo "Files: " $(ls *.json) + # Create a release for this specific version - name: Update Release with Files id: create_version_release