Skip to content

Commit

Permalink
fix: use LFS for the swift binaries (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdtfh authored Dec 12, 2024
1 parent bd8aba9 commit 94b8d56
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down Expand Up @@ -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 }}"
Expand Down

0 comments on commit 94b8d56

Please sign in to comment.