Skip to content

Commit f963ea8

Browse files
committed
azdas
1 parent cd1fbd4 commit f963ea8

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
@@ -76,7 +76,8 @@ jobs:
7676
shell: bash
7777
id: create-build-number
7878
run: |
79-
git checkout -b main
79+
git fetch origin
80+
git switch main
8081
git switch ${{ github.ref_name }}
8182
echo $(git rev-list --count ${{ github.ref_name }} ^main)
8283
echo "build-number=$(git rev-list --count ${{ github.ref_name }} ^main)" >> GITHUB_OUTPUT

0 commit comments

Comments
 (0)