Skip to content

Commit c6e7306

Browse files
committed
xzcd
1 parent 2a515f0 commit c6e7306

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
id: create-build-number
7878
run: |
7979
git fetch origin
80-
git switch origin/main
80+
git checkout main origin/main
8181
git switch ${{ github.ref_name }}
8282
echo $(git rev-list --count ${{ github.ref_name }} ^main)
8383
echo "build-number=$(git rev-list --count ${{ github.ref_name }} ^main)" >> GITHUB_OUTPUT

0 commit comments

Comments
 (0)