We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 706e39c commit 32eeaecCopy full SHA for 32eeaec
1 file changed
.github/workflows/build.yml
@@ -28,7 +28,9 @@ jobs:
28
29
- name: Build
30
run: |
31
- git checkout "$(echo ${{github.ref}} | sed -E 's|^refs/heads/||')"
+ if echo "${{github.ref}}" | grep -q "^refs/heads/"; then
32
+ git checkout "$(echo ${{github.ref}} | sed -E 's|^refs/heads/||')";
33
+ fi
34
./build.sh
35
36
- name: Upload nupkg
0 commit comments