Skip to content

Commit 0652f6d

Browse files
committed
wip
1 parent d7a5341 commit 0652f6d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,14 @@ jobs:
4949
if: ${{ github.event_name == 'pull_request' }}
5050
run: |
5151
echo fetching pull/${{ github.ref_name }}
52-
git fetch origin pull/${{ github.ref_name }}:tmp --depth=1
52+
git fetch origin pull/${{ github.ref_name }}:pr --depth=1
53+
git checkout pr
5354
- name: checkout branch
5455
if: ${{ github.event_name == 'push' }}
5556
run: |
5657
echo fetching ${{ github.ref_name }}
57-
git fetch origin ${{ github.ref_name }}:tmp --depth=1
58+
git fetch origin ${{ github.ref_name }} --depth=1
59+
git checkout ${{ github.ref_name }}
5860
- name: Set up Go
5961
uses: actions/setup-go@v5
6062
with:

0 commit comments

Comments
 (0)