Compare commits
2 Commits
v20250207.
...
v20250207.
| Author | SHA1 | Date | |
|---|---|---|---|
|
a6278772fc
|
|||
|
64a96747be
|
@@ -29,9 +29,12 @@ jobs:
|
|||||||
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
|
||||||
|
|
||||||
# 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
|
||||||
- run: zip -r ./module.zip module.json src
|
- env:
|
||||||
- run: echo "Files- $(ls -la ${{ github.workspace }})"
|
ZIP_FILE_NAME: "module.zip"
|
||||||
- run: echo "secret- `${{ secrets.TEST }}`"
|
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
|
# Create a release for this specific version
|
||||||
- name: Update Release with Files
|
- name: Update Release with Files
|
||||||
@@ -39,5 +42,5 @@ jobs:
|
|||||||
uses: akkuman/gitea-release-action@v1
|
uses: akkuman/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
files: |-
|
files: |-
|
||||||
./module.json
|
./dist/module.json
|
||||||
./module.zip
|
./dist/module.zip
|
||||||
Reference in New Issue
Block a user