Compare commits
4 Commits
20250207.0
...
20250207.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
bd30095e45
|
|||
|
592889ea4c
|
|||
|
3a1443c153
|
|||
|
1142817d41
|
@@ -21,7 +21,7 @@ jobs:
|
||||
id: sub_manifest_link_version
|
||||
uses: microsoft/variable-substitution@v1
|
||||
with:
|
||||
files: 'module.json'
|
||||
files: 'src/module.json'
|
||||
env:
|
||||
version: ${{steps.get_version.outputs.version-without-v}}
|
||||
url: https://gitea.ascorrea.com/${{github.repository}}
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
- env:
|
||||
ZIP_FILENAME: "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: mkdir -p dist && git archive --format zip --output dist/${ZIP_FILENAME} HEAD:src && cp src/module.json dist/ && echo \"Done!\nArchived to ${ZIP_FILENAME} and copied module.js.\"
|
||||
|
||||
- run: echo $(ls -lah)
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
{
|
||||
"name": "gitea-actions-demo",
|
||||
"download": "https://gitea.ascorrea.com/asc/gitea-actions-demo/releases/download/v0.2.1/module.zip",
|
||||
"download": "https://gitea.ascorrea.com/asc/gitea-actions-demo/releases/download/v/module.zip",
|
||||
"manifest": "https://gitea.ascorrea.com/asc/gitea-actions-demo/releases/download/latest/module.json",
|
||||
"version":"",
|
||||
"url":""
|
||||
}
|
||||
Reference in New Issue
Block a user