Skip to content

Commit 85c5945

Browse files
authored
测试Draft输出tag
1 parent 5078b8b commit 85c5945

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/TestDraftRelease.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ jobs:
3535
}
3636

3737
const firstDraft = draftReleases[0];
38+
console.log('Draft release details:', JSON.stringify(firstDraft, null, 2));
39+
console.log('Tag name:', firstDraft.tag_name);
40+
console.log('Tag name type:', typeof firstDraft.tag_name);
41+
3842
core.setOutput('tag', firstDraft.tag_name);
3943
core.setOutput('release_id', firstDraft.id.toString());
4044
return firstDraft;

0 commit comments

Comments
 (0)