aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2025-12-30 20:58:08 +0800
committerHsiangNianian <i@jyunko.cn>2025-12-30 20:58:08 +0800
commit046eda69af8ac163c4337eb63a544685716d97c3 (patch)
treec9dee8148f3e1f1896a423e964f9d586f97247e9 /.github/workflows
parent6922fcea0d567acfaf798c462f526fe43b72d351 (diff)
downloadbase-model-046eda69af8ac163c4337eb63a544685716d97c3.tar.gz
base-model-046eda69af8ac163c4337eb63a544685716d97c3.zip
feat: Add debug step for artifact structure and fix model zip path in release
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/publish.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index bdc6cfc..9150d48 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -134,6 +134,11 @@ jobs:
path: artifacts/
merge-multiple: true
+ - name: Debug artifact structure
+ run: |
+ echo "πŸ“ Artifact directory tree:"
+ tree artifacts/ || ls -laR artifacts/
+
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -188,7 +193,7 @@ jobs:
--title "πŸš€ ${VERSION}"
gh release upload "${VERSION}" \
artifacts/dist/* \
- artifacts/model.zip \
+ artifacts/model-zip/model.zip \
--repo "${{ github.repository }}" --clobber
else
echo "✨ εˆ›ε»Ίζ–° release ${VERSION}..."
@@ -197,7 +202,7 @@ jobs:
--notes-file release_notes.md \
--title "πŸš€ ${VERSION}" \
artifacts/dist/* \
- artifacts/model.zip
+ artifacts/model-zip/model.zip
fi
- name: Commit CHANGELOG.md