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 b768f0f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/trigger-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,10 @@ 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: ${{ (inputs.alpha && 'Create alpha release') || 'Create release' }}
run: yarn ${{ (inputs.alpha && 'release:alpha') || 'release' }}
- name: 'Push release'
uses: ad-m/github-push-action@master
with:
branch: master
force: true

0 comments on commit b768f0f

Please # to comment.