Skip to content

Commit

Permalink
add win packaging to release script
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagohersan committed Feb 29, 2024
1 parent 820bc35 commit f2a5dce
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release-gh-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,17 @@ jobs:
- name: Checkout
uses: actions/checkout@master

- name: Wine
run: sudo apt install wine64

- name: Install
run: npm install

- name: Build
run: npm run dmg
- name: Build OSX
run: npm run pack-osx

- name: Build win
run: npm run pack-win

- name: Setup Git
id: setup
Expand All @@ -33,12 +39,10 @@ jobs:
run: |
mv release/the-happy-app-darwin-x64 ./the-happy-app-mac
tar -czf the-happy-app-mac.tar.gz the-happy-app-mac
mv release/the-happy-app-mac-installer/the-happy-app.dmg .
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
the-happy-app-mac.tar.gz
the-happy-app.dmg
tag_name: ${{ steps.setup.outputs.TAG_NAME }}

0 comments on commit f2a5dce

Please sign in to comment.