Skip to content

Commit

Permalink
Bodge for checkout action
Browse files Browse the repository at this point in the history
  • Loading branch information
ImJeremyHe committed Aug 27, 2024
1 parent 8d9c7e4 commit cf93fd3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true

- name: Submodule # Bodge for https://github.com/actions/checkout/issues/1855
run: >
git submodule update --init
git submodule foreach --recursive git clean -ffdx
git submodule foreach --recursive git reset --hard
- name: Install dependencies
run: >
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/espresso-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
uses: actions/checkout@v4

- name: Submodule # Bodge for https://github.com/actions/checkout/issues/1855
run: >
git submodule update --init
git submodule foreach --recursive git clean -ffdx
git submodule foreach --recursive git reset --hard
- name: Install dependencies
run: >
Expand Down

0 comments on commit cf93fd3

Please sign in to comment.