Skip to content

Commit

Permalink
fix: Add more assets to Github Release
Browse files Browse the repository at this point in the history
  • Loading branch information
samnang committed Oct 26, 2022
1 parent bb7cdbe commit a94d931
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 18 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,14 @@ jobs:
- uses: google-github-actions/release-please-action@v3
id: release-please
with:
release-type: node
package-name: somleng-sms-gateway
extra-files: |
"${{ steps.generate_dist.outputs.linux_pkg }}"
"${{ steps.generate_dist.outputs.macos_pkg }}"
"${{ steps.generate_dist.outputs.win_pkg }}"

- name: Add assets to Github Release
if: ${{ steps.release-please.outputs.release_created }}
run: |
gh release upload ${{ steps.release-please.outputs.tag_name }} ${{ steps.generate_dist.outputs.linux_pkg }}
gh release upload ${{ steps.release-please.outputs.tag_name }} ${{ steps.generate_dist.outputs.macos_pkg }}
gh release upload ${{ steps.release-please.outputs.tag_name }} ${{ steps.generate_dist.outputs.win_pkg }}
14 changes: 0 additions & 14 deletions .github/workflows/release-please.yml

This file was deleted.

0 comments on commit a94d931

Please sign in to comment.