Skip to content

chore: bump version from 0.1.6 to 0.1.7 #3

chore: bump version from 0.1.6 to 0.1.7

chore: bump version from 0.1.6 to 0.1.7 #3

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
release:
strategy:
fail-fast: false
matrix:
include:
- platform: "macos-latest"
args: "--target aarch64-apple-darwin"
- platform: "macos-latest"
args: "--target x86_64-apple-darwin"
- platform: "ubuntu-22.04"
args: "--target x86_64-unknown-linux-gnu"
- platform: "windows-latest"
args: "--target x86_64-pc-windows-msvc"
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies (ubuntu only)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
with:
workspaces: "./src-tauri -> target"
- name: Cache Node.js dependencies
uses: actions/cache@v4
with:
path: |
~/.npm
web/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install frontend dependencies
run: npm ci
working-directory: web
- name: Build frontend
run: |
echo "Building frontend..."
npm run build
echo "Frontend build completed"
ls -la dist || echo "dist directory not found in workspace root"
working-directory: web
- name: Build application
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
projectPath: src-tauri
args: ${{ matrix.args }}
- name: List bundle files
run: find target -name "bundle" -type d -exec find {} -type f \; || echo "No bundle files found"
- name: Upload Release Assets
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
with:
files: |
target/*/release/bundle/**/*/*
generate_release_notes: true
draft: false
prerelease: ${{ contains(github.ref, 'beta') || contains(github.ref, 'alpha') }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}