We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f963ea8 commit 2a515f0Copy full SHA for 2a515f0
1 file changed
.github/workflows/build.yml
@@ -77,7 +77,7 @@ jobs:
77
id: create-build-number
78
run: |
79
git fetch origin
80
- git switch main
+ git switch origin/main
81
git switch ${{ github.ref_name }}
82
echo $(git rev-list --count ${{ github.ref_name }} ^main)
83
echo "build-number=$(git rev-list --count ${{ github.ref_name }} ^main)" >> GITHUB_OUTPUT
0 commit comments