20250207.082305
Some checks failed
Release Creation / build (release) Failing after 20s

This commit is contained in:
2025-02-07 08:23:05 -06:00
parent 64a96747be
commit a6278772fc

View File

@@ -29,7 +29,12 @@ 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 module.json src/*
- env:
ZIP_FILE_NAME: "module.zip"
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: echo $(ls -lah)
# Create a release for this specific version
- name: Update Release with Files
@@ -37,5 +42,5 @@ jobs:
uses: akkuman/gitea-release-action@v1
with:
files: |-
./module.json
./module.zip
./dist/module.json
./dist/module.zip