Skip to content

Commit

Permalink
add tauri ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Puyodead1 committed Sep 15, 2023
1 parent 745b7eb commit d1245f7
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/tauri.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "publish"
on:
workflow_dispatch:

jobs:
publish-tauri:
permissions:
contents: write
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-20.04, windows-latest]

runs-on: ${{ matrix.platform }}
if: github.ref == 'refs/heads/dev/tauri'
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 19
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
- 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
run: pnpm ci
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tagName: spacebar-v__VERSION__
releaseName: "Spacebar Client v__VERSION__"
releaseBody: "See the assets to download this version and install."
releaseDraft: true
prerelease: true

0 comments on commit d1245f7

Please sign in to comment.