Wed Feb 5 03:43:48 PM CST 2025
Some checks failed
Release Creation / build (release) Failing after 18s

This commit is contained in:
2025-02-05 15:44:13 -06:00
parent d890b98e7b
commit 338229b79d
3 changed files with 9 additions and 23 deletions

View File

@@ -15,6 +15,9 @@ jobs:
id: get_version
uses: battila7/get-version-action@v2
- run: echo ${{ steps.get_version.outputs.version-without-v }}
- run: echo ${{ github.repository }}
- run: echo ${{ gitea.repository }}
- run: echo ${{ github.event.release.tag_name }}
# Substitute the Manifest and Download URLs in the module.json
- name: Substitute Manifest and Download Links For Versioned Ones
@@ -24,9 +27,9 @@ jobs:
files: 'module.json'
env:
version: ${{steps.get_version.outputs.version-without-v}}
url: https://github.com/${{github.repository}}
manifest: https://github.com/${{github.repository}}/releases/latest/download/module.json
download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.zip
url: https://gitea.ascorrea.com/${{github.repository}}
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
# Create a zip file with all files required by the module to add to the release
- run: zip -r ./module.zip demo.md