Skip to content

Commit 794c9bf

Browse files
committed
chore: fix publish packages workflow [skip ci]
1 parent ef05376 commit 794c9bf

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/publish-packages.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,14 @@ on:
2929
- 'from-package'
3030
required: true
3131
default: 'from-package'
32-
32+
target_branch:
33+
description: 'Target branch to release from'
34+
type: choice
35+
options:
36+
- 'next'
37+
- 'master'
38+
required: true
39+
default: 'next'
3340
jobs:
3441
e2e:
3542
name: Build and Test
@@ -159,6 +166,8 @@ jobs:
159166
steps:
160167
- name: Checkout
161168
uses: actions/checkout@v4
169+
with:
170+
ref: ${{ github.event.inputs.target_branch }}
162171

163172
- name: Setup Registry
164173
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)