Skip to content

Commit

Permalink
Update pub.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilaz authored Jun 29, 2024
1 parent 5127869 commit f6ad830
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/pub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ jobs:
args: '--target aarch64-apple-darwin'
- platform: 'macos-latest' # for Intel based macs.
args: '--target x86_64-apple-darwin'
- platform: 'ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04.
- platform: 'ubuntu-20.04' # for x86_64 linux
args: ''
- platform: 'ubuntu-20.04' # for ARMv7 linux
args: '--target armv7-unknown-linux-gnueabi'
- platform: 'ubuntu-20.04' # for ARM64 linux
args: '--target aarch64-unknown-linux-gnu'
- platform: 'windows-latest'
args: ''

Expand All @@ -38,12 +42,10 @@ jobs:
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}

- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above.
if: matrix.platform == 'ubuntu-20.04' # This must match the platform value defined above.
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
# webkitgtk 4.0 is for Tauri v1 - webkitgtk 4.1 is for Tauri v2.
# You can remove the one that doesn't apply to your app to speed up the workflow a bit.
sudo apt-get install -y libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- name: install frontend dependencies
run: npm install # change this to npm or pnpm depending on which one you use
Expand All @@ -57,8 +59,10 @@ jobs:
releaseBody: |
# Amica __VERSION__
## Download Notes
* `.dmg` is for **macOS**
* `.app.tar.gz` is for **macOS**
* `_aarch64.dmg` is for **macOS M1**
* `_aarch64.app.tar.gz` is for **macOS M1**
* `_x64.dmg` is for **macOS x86**
* `_x64.app.tar.gz` is for **macOS x86**
* `.exe` is for **Windows**
* `.msi` is for **Windows**
* `.AppImage` is for any **Linux 64 bit**
Expand Down

0 comments on commit f6ad830

Please sign in to comment.