From 0e3c059236d8913401bfc0d8a4e2575938a5fbcc Mon Sep 17 00:00:00 2001 From: MengMengCode <227010654+MengMengCode@users.noreply.github.com> Date: Thu, 16 Jul 2026 16:57:46 +0800 Subject: [PATCH] ci: fix release workflow checkout --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c7c6f70..0ee231f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -108,6 +108,9 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Download artifacts uses: actions/download-artifact@v4 with: @@ -122,6 +125,7 @@ jobs: - name: Publish GitHub Release env: GH_TOKEN: ${{ github.token }} + GH_REPO: ${{ github.repository }} run: | gh release create "$GITHUB_REF_NAME" dist/* --generate-notes || \ gh release upload "$GITHUB_REF_NAME" dist/* --clobber