Skip to content

Commit

Permalink
fix gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
spartacus04 committed Mar 13, 2024
1 parent d27978a commit e430dda
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions .github/workflows/build-tauri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,59 +21,52 @@ jobs:
with:
node-version: 'latest'

- name: install Rust stable
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable

- name: install dependencies (ubuntu only)
- name: Install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- name: install frontend dependencies
- name: Install frontend dependencies
run: npm install

- uses: tauri-apps/tauri-action@v0
id: tauri

- name: upload .dmg binary
- name: Upload .dmg binary
if: matrix.platform == 'macos-latest'
uses: actions/upload-artifact@v2
with:
name: Jext Plugin Manager_${{ steps.tauri.outputs.appVersion }}_x64.dmg
path: src-tauri/target/release/bundle/dmg/Jext Plugin Manager_${{ steps.tauri.outputs.appVersion }}_x64.dmg

- name: upload .app binary
if: matrix.platform == 'ubuntu-20.04'
uses: actions/upload-artifact@v2
with:
name: Jext Plugin Manager.app
path: src-tauri/target/release/bundle/macos/Jext Plugin Manager.app

- name: upload .deb binary
- name: Upload .deb binary
if: matrix.platform == 'ubuntu-20.04'
uses: actions/upload-artifact@v2
with:
name: jext-plugin-manager_${{ steps.tauri.outputs.appVersion }}_amd64.deb
path: src-tauri/target/release/bundle/deb/jext-plugin-manager_${{ steps.tauri.outputs.appVersion }}_amd64.deb

- name: upload .appimage binary
- name: Upload .appimage binary
if: matrix.platform == 'ubuntu-20.04'
uses: actions/upload-artifact@v2
with:
name: jext-plugin-manager_${{ steps.tauri.outputs.appVersion }}_amd64.AppImage
path: src-tauri/target/release/bundle/appimage/jext-plugin-manager_${{ steps.tauri.outputs.appVersion }}_amd64.AppImage

- name: upload .msi installer
- name: Upload .msi installer
if: matrix.platform == 'windows-latest'
uses: actions/upload-artifact@v2
with:
name: Jext Plugin Manager_${{ steps.tauri.outputs.appVersion }}_x64_en-US.msi
path: src-tauri/target/release/bundle/msi/Jext Plugin Manager_${{ steps.tauri.outputs.appVersion }}_x64_en-US.msi

- name: upload .exe installer
- name: Upload .exe installer
if: matrix.platform == 'windows-latest'
uses: actions/upload-artifact@v2
with:
name: Jext Plugin Manager_${{ steps.tauri.outputs.appVersion }}_x64_en-US.exe
path: src-tauri/target/release/bundle/exe/Jext Plugin Manager_${{ steps.tauri.outputs.appVersion }}_x64_en-US.exe
name: Jext Plugin Manager_${{ steps.tauri.outputs.appVersion }}_x64-setup.exe
path: src-tauri/target/release/bundle/nsis/Jext Plugin Manager_${{ steps.tauri.outputs.appVersion }}_x64-setup.exe

0 comments on commit e430dda

Please sign in to comment.