Skip to content

Commit 945b978

Browse files
committed
zxcsd
1 parent df05cbd commit 945b978

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ jobs:
7979
id: create-build-number
8080
run: |
8181
git fetch --unshallow --filter=tree:0
82-
git rev-list --count origin/${{ github.ref_name }} ^origin/main
82+
build_number="$(git rev-list --count origin/${{ github.ref_name }} ^origin/main)"
83+
echo $build_number
8384
echo "build-number=$(git rev-list --count origin/${{ github.ref_name }} ^origin/main)" >> GITHUB_OUTPUT
8485
- name: ''
8586
shell: bash

0 commit comments

Comments
 (0)