From 0a723a50dc50811798310ba614a3a5d2fc8158b1 Mon Sep 17 00:00:00 2001 From: Austin Shalit Date: Sun, 25 Oct 2020 22:56:52 -0400 Subject: [PATCH] [build] Use fetch-depth: 0 to get all history (#2812) --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3962e1046f..8a8f6a3f57 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,8 +25,8 @@ jobs: container: ${{ matrix.container }} steps: - uses: actions/checkout@v2 - - name: Fetch all history and metadata - run: git fetch --prune --unshallow --tags + with: + fetch-depth: 0 - name: Build with Gradle run: ./gradlew build -PbuildServer ${{ matrix.build-options }} - uses: actions/upload-artifact@v2 @@ -52,8 +52,8 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - - name: Fetch all history and metadata - run: git fetch --prune --unshallow --tags + with: + fetch-depth: 0 - uses: actions/setup-java@v1 with: java-version: 11 @@ -89,8 +89,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Fetch all history and metadata - run: git fetch --prune --unshallow --tags + with: + fetch-depth: 0 - uses: actions/setup-java@v1 with: java-version: 13