Compare commits

...

2 Commits

Author SHA1 Message Date
89f0b930f5 20250207.083655
Some checks failed
Release Creation / build (release) Failing after 22s
2025-02-07 08:36:55 -06:00
4e9bc012f9 20250207.083235
Some checks failed
Release Creation / build (release) Failing after 23s
2025-02-07 08:32:35 -06:00

View File

@@ -28,14 +28,14 @@ jobs:
manifest: https://gitea.ascorrea.com/${{github.repository}}/releases/latest/download/module.json manifest: https://gitea.ascorrea.com/${{github.repository}}/releases/latest/download/module.json
download: https://gitea.ascorrea.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.zip download: https://gitea.ascorrea.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.zip
- run: echo zip filename "$ZIP_FILENAME" dist_branch "$DIST_BRANCH_NAME" - run: git reflog
env: env:
ZIP_FILE_NAME: "module.zip" ZIP_FILENAME: "module.zip"
DIST_BRANCH_NAME: "main" DIST_BRANCH_NAME: "main"
# Create a zip file with all files required by the module to add to the release # Create a zip file with all files required by the module to add to the release
- env: - env:
ZIP_FILE_NAME: "module.zip" ZIP_FILENAME: "module.zip"
DIST_BRANCH_NAME: "main" DIST_BRANCH_NAME: "main"
run: mkdir -p dist && git archive --format zip --output dist/${ZIP_FILENAME} ${DIST_BRANCH_NAME}:src && cp src/module.json dist/ && echo \"Done!\nArchived to ${ZIP_FILENAME} and copied module.js.\" run: mkdir -p dist && git archive --format zip --output dist/${ZIP_FILENAME} ${DIST_BRANCH_NAME}:src && cp src/module.json dist/ && echo \"Done!\nArchived to ${ZIP_FILENAME} and copied module.js.\"