diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 27cbb6ef..721d0684 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,8 +95,6 @@ jobs: run: | git config --global user.email "github-actions[bot]@users.noreply.github.com" git config --global user.name "github-actions[bot]" - # built binary files are too large for the default buffer - git config --global http.postBuffer 157286400 git add Cargo.toml git add Cargo.lock git commit -m "Bump crate version to ${{ steps.version.outputs.new_version }}" @@ -162,6 +160,11 @@ jobs: cd target-repo git config --global user.email "github-actions[bot]@users.noreply.github.com" git config --global user.name "github-actions[bot]" + + # Initialize Git LFS and track the large files + git lfs install + git lfs track "*.a" + git add . git commit -m "Release ${{ needs.update-cargo-version.outputs.new_version }}"