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.
This commit is contained in:
2025-02-06 18:54:40 -06:00
parent f1a1a22939
commit 7a30f53dce

View File

@@ -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