We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 074c3b6 commit 09eaedbCopy full SHA for 09eaedb
.github/workflows/build.yml
@@ -78,8 +78,7 @@ jobs:
78
shell: bash
79
id: create-build-number
80
run: |
81
- git fetch --unshallow origin main
82
- git fetch --unshallow origin ${{ github.ref_name }}
+ git fetch --unshallow --filter=tree:0
83
echo $(git rev-list HEAD --count --first-parent)
84
echo $(git rev-list --count origin/${{ github.ref_name }} ^origin/main)
85
echo "build-number=$(git rev-list --count origin/${{ github.ref_name }} ^origin/main)" >> GITHUB_OUTPUT
0 commit comments