Skip to content

Bump up version to 0.2.5 #21

Bump up version to 0.2.5

Bump up version to 0.2.5 #21

Workflow file for this run

name: release-macos
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
build-macos:
name: build-macos-${{ matrix.target }}
runs-on: macos-latest
permissions:
contents: write
strategy:
fail-fast: false
matrix:
include:
- target: aarch64-apple-darwin
- target: x86_64-apple-darwin
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
targets: aarch64-apple-darwin,x86_64-apple-darwin
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
with:
workspaces: src-tauri -> target
- name: Install frontend dependencies
run: npm ci
- name: Run release verification checks
run: npm run check:release
- name: Build macOS release bundle
if: startsWith(github.ref, 'refs/tags/')
uses: tauri-apps/tauri-action@v0.6.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tagName: ${{ github.ref_name }}
releaseName: "riida ${{ github.ref_name }}"
releaseBody: "Automated macOS build for riida."
releaseDraft: true
prerelease: false
args: --target ${{ matrix.target }}
- name: Build macOS workflow artifact
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: tauri-apps/tauri-action@v0.6.0
with:
uploadWorkflowArtifacts: true
workflowArtifactNamePattern: "riida-[target-triple]-[bundle]"
args: --target ${{ matrix.target }}