We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df05cbd commit 945b978Copy full SHA for 945b978
1 file changed
.github/workflows/build.yml
@@ -79,7 +79,8 @@ jobs:
79
id: create-build-number
80
run: |
81
git fetch --unshallow --filter=tree:0
82
- git rev-list --count origin/${{ github.ref_name }} ^origin/main
+ build_number="$(git rev-list --count origin/${{ github.ref_name }} ^origin/main)"
83
+ echo $build_number
84
echo "build-number=$(git rev-list --count origin/${{ github.ref_name }} ^origin/main)" >> GITHUB_OUTPUT
85
- name: ''
86
shell: bash
0 commit comments