Skip to content

Commit 45f874d

Browse files
committed
fixup! tag-git: make snapshot builds more convenient
1 parent 0ca8c92 commit 45f874d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tag-git.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
script: |
2727
if (process.env.SNAPSHOT === '') throw new Error(`Non-snapshot build on the 'main' branch is not supported.`)
28-
const { data: ref } = await github.git.getRef({
28+
const { data: ref } = await github.rest.git.getRef({
2929
owner: process.env.OWNER,
3030
repo: 'git',
3131
ref: 'heads/main',

0 commit comments

Comments
 (0)