Skip to content

Commit

Permalink
remove depth limit
Browse files Browse the repository at this point in the history
  • Loading branch information
st-pasha committed Nov 16, 2023
1 parent 57e0240 commit 8b2d9dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-and-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ jobs:
uses: actions/checkout@v3

- name: Fetch remote branch
run: git fetch --depth=1 origin main

run: |
git fetch origin main
- name: Prepare environment variables
run: |
$env:DT_BUILD_ID = git rev-list --count main
$env:DT_BUILD_ID = (git rev-list --count main) - 1
if ($env:GITHUB_EVENT_NAME -eq 'pull_request') {
if ($env:GITHUB_PULL_REQUEST_HEAD_REPO_BRANCH -match '^rel-') {
$env:DT_RELEASE = 'True'
Expand Down
2 changes: 1 addition & 1 deletion ci/appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ build_script:
$DEFAULT_PATH = $env:PATH
git fetch --depth=1 origin main
git fetch --depth=10 origin main
$MAIN_BUILD_ID = git rev-list --count main
Expand Down

0 comments on commit 8b2d9dd

Please sign in to comment.