From 10454cccc3003630edec3449a4c76105d6c35e5d Mon Sep 17 00:00:00 2001 From: lzghzr Date: Sun, 5 May 2024 20:25:05 +0800 Subject: [PATCH] ci: Upload split artifact (#2) --- .github/workflows/build-kpm.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-kpm.yml b/.github/workflows/build-kpm.yml index a97aecb..25bb6f0 100644 --- a/.github/workflows/build-kpm.yml +++ b/.github/workflows/build-kpm.yml @@ -48,9 +48,11 @@ jobs: - name: Upload artifact if: success() - uses: actions/upload-artifact@v4 + uses: lzghzr/upload-artifact@405e6269d5b1feb22bf2a044deb7950596bed6da with: - path: target + path: "target/*.kpm" + artifact-per-file: true + artifact-name-rule: ${name} - name: Upload release if: github.event.inputs.release == 'true' && success() && !cancelled()