diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-02-25 12:03:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-25 18:03:11 +0100 |
commit | fe181e2b4850a83344f0aa5840fffe97c8cb8839 (patch) | |
tree | f78d6dd6cc09972d309adca907a3c5a932af6f41 | |
parent | 14e7e1e3af43b2322a26fcc542428c8f1af4460d (diff) |
ci: Use fetch-depth: 5 (#4127)
-rw-r--r-- | .github/workflows/ci.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1be4e8546..656a72ed3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,10 @@ jobs: - name: Clone repository uses: actions/checkout@v1 with: - fetch-depth: 1 + # Use depth > 1, because sometimes we need to rebuild master and if + # other commits have landed it will become impossible to rebuild if + # the checkout is too shallow. + fetch-depth: 5 submodules: true - name: Create source tarballs (release, linux) |