Skip to content

Commit

Permalink
chore(github actions): Fix action to trigger release manually
Browse files Browse the repository at this point in the history
  • Loading branch information
burtek committed Apr 16, 2024
1 parent 2fcc945 commit 3082635
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/trigger-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,8 @@ jobs:
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- name: 'Create release'
if: ${{ !github.event.inputs.alpha }}
run: yarn release
- name: 'Create alpha release'
if: ${{ github.event.inputs.alpha }}
run: yarn release:alpha
- name: ${{ github.event.inputs.alpha == 'true' && 'Create alpha release' || 'Create release' }}
run: yarn ${{ github.event.inputs.alpha == 'true' && 'release:alpha' || 'release' }}
- name: 'Push release'
uses: ad-m/github-push-action@master
with:
Expand Down

0 comments on commit 3082635

Please sign in to comment.