Skip to content

Commit

Permalink
disable LFS in our git checkout action
Browse files Browse the repository at this point in the history
  • Loading branch information
TT-billteng committed Jan 14, 2025
1 parent af2a036 commit 1628976
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/actions/checkout-with-submodule-lfs/action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Checkout recursively with submodules and LFS"
name: "Checkout recursively with submodules"
description: "Installs tt-metal extra dev dependencies on ubuntu-20.04 GitHub Actions runners"

inputs:
Expand Down Expand Up @@ -27,12 +27,9 @@ runs:
with:
token: ${{ inputs.token }}
fetch-depth: ${{ inputs.fetch-depth }}
lfs: true
lfs: false
submodules: recursive
clean: true
- name: Clean each submodule
shell: bash
run: git submodule foreach 'git clean -xffd'
- name: Fetch and pull LFS objects for each submodule
shell: bash
run: git submodule foreach 'git lfs fetch && git lfs pull'

0 comments on commit 1628976

Please sign in to comment.