Skip to content

New translations en.json (Hebrew) #125

New translations en.json (Hebrew)

New translations en.json (Hebrew) #125

Workflow file for this run

name: 'Build'
on:
push:
jobs:
publish-tauri:
permissions:
contents: write
strategy:
fail-fast: false
matrix:
# maybe update to macOS 14 if this is ARM64-ready?
platform: [macos-13, ubuntu-22.04, windows-2022]
runs-on: ${{ matrix.platform }}
steps:
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.4
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: latest
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'
- name: Deploy Rust to CI
uses: dtolnay/rust-toolchain@stable
- name: Install dependencies (Ubuntu only)
if: matrix.platform == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- name: Deploy frontend dependencies
run: pnpm install
- name: Compile software
run: pnpm tauri build --ci
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
- name: Upload the Linux packages (AppImage)
uses: actions/upload-artifact@v4
if: matrix.platform == 'ubuntu-22.04'
with:
name: linux-packages
path: src-tauri/target/release/bundle/appimage/*.AppImage
- name: Upload the Linux packages (ELF)
uses: actions/upload-artifact@v4
if: matrix.platform == 'ubuntu-22.04'
with:
name: linux-packages-raw
# TODO: a better way to find just the binary
path: src-tauri/target/release/fabulously-optimized-installer
- name: Upload the macOS packages
uses: actions/upload-artifact@v4
if: matrix.platform == 'macos-13'
with:
name: macos-packages
path: src-tauri/target/release/bundle/dmg/*.dmg
- name: Upload the Windows packages
uses: actions/upload-artifact@v4
if: matrix.platform == 'windows-2022'
with:
name: windows-packages
path: src-tauri/target/release/*.exe