Skip to content

Commit

Permalink
ci: recursive clone
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-athome committed Jan 23, 2025
1 parent ba5511b commit 6abfa3f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
# Check out the current repository
- name: Fetch Sources
uses: actions/checkout@v4
with:
submodules: true

# Validate wrapper
- name: Gradle Wrapper Validation
Expand Down Expand Up @@ -103,6 +105,8 @@ jobs:
# Check out the current repository
- name: Fetch Sources
uses: actions/checkout@v4
with:
submodules: true

# Set up Java environment for the next steps
- name: Setup Java
Expand Down Expand Up @@ -157,6 +161,7 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
fetch-depth: 0 # a full history is required for pull request analysis
submodules: true

# Set up Java environment for the next steps
- name: Setup Java
Expand Down Expand Up @@ -188,6 +193,8 @@ jobs:
# Check out the current repository
- name: Fetch Sources
uses: actions/checkout@v4
with:
submodules: true

# Set up Java environment for the next steps
- name: Setup Java
Expand Down Expand Up @@ -233,6 +240,8 @@ jobs:
# Check out the current repository
- name: Fetch Sources
uses: actions/checkout@v4
with:
submodules: true

# Remove old release drafts by using the curl request for the available releases with a draft flag
- name: Remove Old Release Drafts
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.event.release.tag_name }}
submodules: true

# Set up Java environment for the next steps
- name: Setup Java
Expand Down Expand Up @@ -85,7 +86,7 @@ jobs:
git config user.email "[email protected]"
git config user.name "GitHub Action"
git checkout -b $BRANCH
git checkout --recurse-submodules -b $BRANCH
git commit -am "Changelog update - $VERSION"
git push --set-upstream origin $BRANCH
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/run-ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
# Check out the current repository
- name: Fetch Sources
uses: actions/checkout@v4
with:
submodules: true

# Set up Java environment for the next steps
- name: Setup Java
Expand Down

0 comments on commit 6abfa3f

Please sign in to comment.