Skip to content

Commit

Permalink
fix github action (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoC0de committed Mar 3, 2024
1 parent 54888b8 commit 90a839a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .github/actions/checkout/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ description: Checkout the source code. For pull requests it checks out the merge
runs:
using: composite
steps:
- name: clear .git
shell: bash
run: rm -r .git

- name: Checkout normal
uses: actions/checkout@v4
if: github.event_name != 'pull_request_target'
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions/checkout@v4
with:
sparse-checkout: .github/actions/checkout/action.yml
lfs: true
sparse-checkout-cone-mode: false

- name: Checkout
uses: ./.github/actions/checkout
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
uses: actions/checkout@v4
with:
sparse-checkout: .github/actions/checkout/action.yml
lfs: true
sparse-checkout-cone-mode: false

- name: Checkout
uses: ./.github/actions/checkout
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
uses: actions/checkout@v4
with:
sparse-checkout: .github/actions/checkout/action.yml
lfs: true
sparse-checkout-cone-mode: false

- name: Checkout
uses: ./.github/actions/checkout
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
uses: actions/checkout@v4
with:
sparse-checkout: .github/actions/checkout/action.yml
lfs: true
sparse-checkout-cone-mode: false

- name: Checkout
uses: ./.github/actions/checkout
Expand Down Expand Up @@ -215,7 +215,7 @@ jobs:
uses: actions/checkout@v4
with:
sparse-checkout: .github/actions/checkout/action.yml
lfs: true
sparse-checkout-cone-mode: false

- name: Checkout
uses: ./.github/actions/checkout
Expand Down Expand Up @@ -247,7 +247,7 @@ jobs:
uses: actions/checkout@v4
with:
sparse-checkout: .github/actions/checkout/action.yml
lfs: true
sparse-checkout-cone-mode: false

- name: Checkout
uses: ./.github/actions/checkout
Expand Down

0 comments on commit 90a839a

Please sign in to comment.