Skip to content

Commit 09eaedb

Browse files
committed
sdvsdfv
1 parent 074c3b6 commit 09eaedb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ jobs:
7878
shell: bash
7979
id: create-build-number
8080
run: |
81-
git fetch --unshallow origin main
82-
git fetch --unshallow origin ${{ github.ref_name }}
81+
git fetch --unshallow --filter=tree:0
8382
echo $(git rev-list HEAD --count --first-parent)
8483
echo $(git rev-list --count origin/${{ github.ref_name }} ^origin/main)
8584
echo "build-number=$(git rev-list --count origin/${{ github.ref_name }} ^origin/main)" >> GITHUB_OUTPUT

0 commit comments

Comments
 (0)