Compare commits
9 Commits
v0.0.1
...
v20250207.
| Author | SHA1 | Date | |
|---|---|---|---|
|
00fd997d75
|
|||
|
d68a7ca49d
|
|||
|
78e593fbca
|
|||
|
7a30f53dce
|
|||
|
f1a1a22939
|
|||
|
ee9a873440
|
|||
|
7ed54aa297
|
|||
|
0e9d62ccd0
|
|||
|
cc03fe3fe1
|
@@ -14,10 +14,7 @@ jobs:
|
||||
- name: Extract tag version number
|
||||
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 }}
|
||||
- run: echo ${{ steps.get_version.outputs.version-without-v }} ${{ github.repository }} ${{ github.event.release.tag_name }} ${{ secrets.GITHUB_TOKEN }} ${{ github.event.release.name }}
|
||||
|
||||
# Substitute the Manifest and Download URLs in the module.json
|
||||
- name: Substitute Manifest and Download Links For Versioned Ones
|
||||
@@ -32,7 +29,9 @@ 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 demo.md
|
||||
- run: zip -r ./module.zip module.json src
|
||||
- run: echo "Files- $(ls -la ${{ github.workspace }})"
|
||||
- run: echo "secret- `${{ secrets.TEST }}`"
|
||||
|
||||
# Create a release for this specific version
|
||||
- name: Update Release with Files
|
||||
@@ -44,6 +43,7 @@ jobs:
|
||||
draft: ${{ github.event.release.unpublished }}
|
||||
prerelease: ${{ github.event.release.prerelease }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
artifacts: './module.json, ./module.zip'
|
||||
artifacts: '${{ github.workspace }}/module.json, ${{ github.workspace }}/module.zip'
|
||||
tag: ${{ github.event.release.tag_name }}
|
||||
body: ${{ github.event.release.body }}
|
||||
body: ${{ github.event.release.body }}
|
||||
title: ${{ github.event.release.tag_name }}
|
||||
2
.secrets
Normal file
2
.secrets
Normal file
@@ -0,0 +1,2 @@
|
||||
TEST=123
|
||||
GITHUB_TOKEN=90b74545400305cb379a38d2c442d29d3aa911a4
|
||||
0
src/main.js
Normal file
0
src/main.js
Normal file
Reference in New Issue
Block a user