Skip to content

Commit

Permalink
#0: Explicitly set clean to true and add a clean -xffd command to ensure
Browse files Browse the repository at this point in the history
we do do a full clean
  • Loading branch information
tt-rkim committed Nov 8, 2023
1 parent c0a47be commit da20651
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/actions/checkout-with-submodule-lfs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ runs:
fetch-depth: ${{ inputs.fetch-depth }}
lfs: true
submodules: recursive
clean: true
- name: Clean repo
shell: bash
run: git clean -xffd
- 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 --all && git lfs pull'

0 comments on commit da20651

Please sign in to comment.