Compare commits
5 Commits
20250207.0
...
v20250207.
| Author | SHA1 | Date | |
|---|---|---|---|
|
bd30095e45
|
|||
|
592889ea4c
|
|||
|
3a1443c153
|
|||
|
1142817d41
|
|||
|
89f0b930f5
|
@@ -21,14 +21,14 @@ jobs:
|
|||||||
id: sub_manifest_link_version
|
id: sub_manifest_link_version
|
||||||
uses: microsoft/variable-substitution@v1
|
uses: microsoft/variable-substitution@v1
|
||||||
with:
|
with:
|
||||||
files: 'module.json'
|
files: 'src/module.json'
|
||||||
env:
|
env:
|
||||||
version: ${{steps.get_version.outputs.version-without-v}}
|
version: ${{steps.get_version.outputs.version-without-v}}
|
||||||
url: https://gitea.ascorrea.com/${{github.repository}}
|
url: https://gitea.ascorrea.com/${{github.repository}}
|
||||||
manifest: https://gitea.ascorrea.com/${{github.repository}}/releases/latest/download/module.json
|
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
|
download: https://gitea.ascorrea.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.zip
|
||||||
|
|
||||||
- run: echo zip filename "$ZIP_FILENAME" dist_branch "$DIST_BRANCH_NAME"
|
- run: git reflog
|
||||||
env:
|
env:
|
||||||
ZIP_FILENAME: "module.zip"
|
ZIP_FILENAME: "module.zip"
|
||||||
DIST_BRANCH_NAME: "main"
|
DIST_BRANCH_NAME: "main"
|
||||||
@@ -37,7 +37,7 @@ jobs:
|
|||||||
- env:
|
- env:
|
||||||
ZIP_FILENAME: "module.zip"
|
ZIP_FILENAME: "module.zip"
|
||||||
DIST_BRANCH_NAME: "main"
|
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)
|
- run: echo $(ls -lah)
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "gitea-actions-demo",
|
"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",
|
"manifest": "https://gitea.ascorrea.com/asc/gitea-actions-demo/releases/download/latest/module.json",
|
||||||
|
"version":"",
|
||||||
|
"url":""
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user