Skip to content

Commit

Permalink
Restore full git history for checkouts (#4595)
Browse files Browse the repository at this point in the history
Restores full git history for checkouts, that allows build-id script to
get number of commits.
This is restored from Cobalt actions code behavior, and should not have
significant impact on build speeds, as we don't work with full Chromium
repo.

b/377927950
b/378163424
  • Loading branch information
kaidokert authored Dec 17, 2024
1 parent 9c9a8a9 commit dcfbd92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ jobs:
if: ${{ ! (startsWith(matrix.platform, 'android') && matrix.config == 'debug') }}
with:
path: src
# Use fetch depth of 0 to get full history for a valid build id.
fetch-depth: 0
- name: Build Cobalt
uses: ./src/.github/actions/build
# TODO(bug?): android debug builds are broken.
Expand Down

0 comments on commit dcfbd92

Please sign in to comment.