Compare commits
6 Commits
v0.0.4
...
v20250207.
| Author | SHA1 | Date | |
|---|---|---|---|
|
d68a7ca49d
|
|||
|
78e593fbca
|
|||
|
7a30f53dce
|
|||
|
f1a1a22939
|
|||
|
ee9a873440
|
|||
|
7ed54aa297
|
@@ -14,12 +14,7 @@ jobs:
|
|||||||
- name: Extract tag version number
|
- name: Extract tag version number
|
||||||
id: get_version
|
id: get_version
|
||||||
uses: battila7/get-version-action@v2
|
uses: battila7/get-version-action@v2
|
||||||
- run: echo ${{ steps.get_version.outputs.version-without-v }}
|
- run: echo ${{ steps.get_version.outputs.version-without-v }} ${{ github.repository }} ${{ github.event.release.tag_name }} ${{ secrets.GITHUB_TOKEN }} ${{ github.event.release.name }}
|
||||||
- run: echo ${{ github.repository }}
|
|
||||||
- run: echo ${{ gitea.repository }}
|
|
||||||
- run: echo ${{ github.event.release.tag_name }}
|
|
||||||
- run: echo ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
- run: echo ${{ github.event.release.name }}
|
|
||||||
|
|
||||||
# Substitute the Manifest and Download URLs in the module.json
|
# Substitute the Manifest and Download URLs in the module.json
|
||||||
- name: Substitute Manifest and Download Links For Versioned Ones
|
- name: Substitute Manifest and Download Links For Versioned Ones
|
||||||
@@ -34,7 +29,9 @@ 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.zip main.js module.json
|
- run: zip -r ./module.zip module.json src
|
||||||
|
- run: echo "Files- $(ls -la)"
|
||||||
|
- run: echo "secret- `${{ secrets.TEST }}`"
|
||||||
|
|
||||||
# Create a release for this specific version
|
# Create a release for this specific version
|
||||||
- name: Update Release with Files
|
- name: Update Release with Files
|
||||||
@@ -48,4 +45,5 @@ jobs:
|
|||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
artifacts: './module.json, ./module.zip'
|
artifacts: './module.json, ./module.zip'
|
||||||
tag: ${{ github.event.release.tag_name }}
|
tag: ${{ github.event.release.tag_name }}
|
||||||
body: ${{ github.event.release.body }}
|
body: ${{ github.event.release.body }}
|
||||||
|
title: ${{ github.event.release.tag_name }}
|
||||||
Reference in New Issue
Block a user