We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26065da commit 90c1dcaCopy full SHA for 90c1dca
1 file changed
merge-junit-reports/action.yml
@@ -44,7 +44,7 @@ runs:
44
shell: bash
45
working-directory: junit-reports
46
run: |
47
- if git show-ref --verify --quiet refs/remotes/origin/${{ inputs.git-branch }}; then
+ if git ls-remote --exit-code --heads origin ${{ inputs.git-branch }}; then
48
echo "Switching to branch ${{ inputs.git-branch }}"
49
git switch ${{ inputs.git-branch }}
50
else
0 commit comments