fix: mirror via gh release create instead of git push (163MB > 100MB limit)

This commit is contained in:
2026-06-18 17:14:24 +08:00
parent a896def3a6
commit cd584f5599
+9 -22
View File
@@ -116,26 +116,13 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Mirror Windows to tekton-updates - name: Mirror to tekton-updates
uses: dmnemec/copy_file_to_another_repo_action@main
env: env:
API_TOKEN_GITHUB: ${{ secrets.PUBLIC_REPO_PAT }} GITHUB_TOKEN: ${{ secrets.PUBLIC_REPO_PAT }}
with: run: |
source_file: 'windows-build/tekton_armageddon_windows.zip' gh release create "v${{ steps.version.outputs.version }}" \
destination_repo: '${{ github.actor }}/tekton-updates' --repo "${{ github.actor }}/tekton-updates" \
destination_folder: 'v${{ steps.version.outputs.version }}' --title "v${{ steps.version.outputs.version }}" \
user_email: 'action@github.com' --notes "Mirror of https://github.com/${{ github.repository }}/releases/tag/v${{ steps.version.outputs.version }}" \
user_name: 'ReleaseBot' "windows-build/tekton_armageddon_windows.zip#Windows" \
commit_message: '[AUTO] Mirror v${{ steps.version.outputs.version }} Windows build' "linux-build/tekton_armageddon_linux.zip#Linux"
- 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'