Skip to content

Commit d19c084

Browse files
committed
Fix switch to existing JUnit report branch
1 parent 90c1dca commit d19c084

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

merge-junit-reports/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ runs:
4646
run: |
4747
if git ls-remote --exit-code --heads origin ${{ inputs.git-branch }}; then
4848
echo "Switching to branch ${{ inputs.git-branch }}"
49+
git fetch --quiet
4950
git switch ${{ inputs.git-branch }}
5051
else
5152
echo "Creating branch ${{ inputs.git-branch }}"

0 commit comments

Comments
 (0)