Skip to content

Commit 3082635

Browse files
committed
chore(github actions): Fix action to trigger release manually
1 parent 2fcc945 commit 3082635

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/trigger-release.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,8 @@ jobs:
3131
run: |
3232
git config --local user.email "github-actions[bot]@users.noreply.github.com"
3333
git config --local user.name "github-actions[bot]"
34-
- name: 'Create release'
35-
if: ${{ !github.event.inputs.alpha }}
36-
run: yarn release
37-
- name: 'Create alpha release'
38-
if: ${{ github.event.inputs.alpha }}
39-
run: yarn release:alpha
34+
- name: ${{ github.event.inputs.alpha == 'true' && 'Create alpha release' || 'Create release' }}
35+
run: yarn ${{ github.event.inputs.alpha == 'true' && 'release:alpha' || 'release' }}
4036
- name: 'Push release'
4137
uses: ad-m/github-push-action@master
4238
with:

0 commit comments

Comments
 (0)