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