Skip to content

Commit 32eeaec

Browse files
committed
Fix build PR
1 parent 706e39c commit 32eeaec

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ jobs:
2828
2929
- name: Build
3030
run: |
31-
git checkout "$(echo ${{github.ref}} | sed -E 's|^refs/heads/||')"
31+
if echo "${{github.ref}}" | grep -q "^refs/heads/"; then
32+
git checkout "$(echo ${{github.ref}} | sed -E 's|^refs/heads/||')";
33+
fi
3234
./build.sh
3335
3436
- name: Upload nupkg

0 commit comments

Comments
 (0)