From cd584f5599bf4e2df2e26b2b8e4b649f7964c9fe Mon Sep 17 00:00:00 2001 From: adtpdn Date: Thu, 18 Jun 2026 17:14:24 +0800 Subject: [PATCH] fix: mirror via gh release create instead of git push (163MB > 100MB limit) --- .github/workflows/build.yml | 31 +++++++++---------------------- 1 file changed, 9 insertions(+), 22 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d17260d..7f0f1ec 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -116,26 +116,13 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Mirror Windows to tekton-updates - uses: dmnemec/copy_file_to_another_repo_action@main + - name: Mirror to tekton-updates env: - API_TOKEN_GITHUB: ${{ secrets.PUBLIC_REPO_PAT }} - with: - source_file: 'windows-build/tekton_armageddon_windows.zip' - destination_repo: '${{ github.actor }}/tekton-updates' - destination_folder: 'v${{ steps.version.outputs.version }}' - user_email: 'action@github.com' - user_name: 'ReleaseBot' - commit_message: '[AUTO] Mirror v${{ steps.version.outputs.version }} Windows build' - - - name: Mirror Linux to tekton-updates - uses: dmnemec/copy_file_to_another_repo_action@main - env: - API_TOKEN_GITHUB: ${{ secrets.PUBLIC_REPO_PAT }} - with: - source_file: 'linux-build/tekton_armageddon_linux.zip' - destination_repo: '${{ github.actor }}/tekton-updates' - destination_folder: 'v${{ steps.version.outputs.version }}' - user_email: 'action@github.com' - user_name: 'ReleaseBot' - commit_message: '[AUTO] Mirror v${{ steps.version.outputs.version }} Linux build' + GITHUB_TOKEN: ${{ secrets.PUBLIC_REPO_PAT }} + run: | + gh release create "v${{ steps.version.outputs.version }}" \ + --repo "${{ github.actor }}/tekton-updates" \ + --title "v${{ steps.version.outputs.version }}" \ + --notes "Mirror of https://github.com/${{ github.repository }}/releases/tag/v${{ steps.version.outputs.version }}" \ + "windows-build/tekton_armageddon_windows.zip#Windows" \ + "linux-build/tekton_armageddon_linux.zip#Linux"