feat: v0.4.1 — guided SMART tooling install #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| tags: ['v*'] | |
| permissions: | |
| contents: write | |
| jobs: | |
| bundle: | |
| name: Build Linux bundles | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev librsvg2-dev \ | |
| libayatana-appindicator3-dev libxdo-dev cmake build-essential file | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| - uses: pnpm/action-setup@v6 | |
| with: | |
| version: 10 | |
| - name: Build frontend | |
| working-directory: ui | |
| run: | | |
| pnpm install --frozen-lockfile | |
| pnpm build | |
| - name: Build privileged helper | |
| run: cargo build --release -p freeyourdisk-helper | |
| - name: Install Tauri CLI | |
| run: cargo install tauri-cli --locked | |
| - name: Build bundles (deb, rpm, appimage) | |
| run: cargo tauri build | |
| - name: Publish release | |
| uses: softprops/action-gh-release@v3 | |
| with: | |
| files: | | |
| target/release/bundle/deb/*.deb | |
| target/release/bundle/rpm/*.rpm | |
| target/release/bundle/appimage/*.AppImage | |
| generate_release_notes: true |