Set fetch-depth 0 for CI builds too (#2034)

pull/2005/head
powderluv 2023-04-14 11:36:41 -07:00 committed by GitHub
parent 811f330283
commit 0a3ab07c8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
submodules: 'true' submodules: 'true'
fetch-depth: 0
- name: Fetch PyTorch commit hash - name: Fetch PyTorch commit hash
if: ${{ matrix.os-arch != 'windows-x86_64' }} if: ${{ matrix.os-arch != 'windows-x86_64' }}