Skip to content

Commit

Permalink
update git as a fix to self-hosted runners
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmellos committed Apr 26, 2024
1 parent bf2a49b commit 274ed45
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,12 @@ jobs:
ref: ${{ inputs.REF || github.ref }}
fetch-depth: 0

- name: Update git
if: ${{ inputs.SUBMODULES_RECURSIVE == true && inputs.SUBMODULES_PRIVATE == true }}
run: |
sudo apt update
sudo apt install -y git
- uses: actions/checkout@v4
name: Checkout private submoules recursively
id: private
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Update git
if: ${{ inputs.SUBMODULES_RECURSIVE == true }}
run: |
sudo apt update
sudo apt install -y git
- uses: actions/checkout@v4
if: ${{ inputs.SUBMODULES_RECURSIVE == true }}
Expand Down

0 comments on commit 274ed45

Please sign in to comment.