Bump up version to 0.1.0 #10
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-linux | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| workflow_dispatch: | |
| jobs: | |
| build-linux: | |
| name: build-linux-x86_64 | |
| runs-on: ubuntu-22.04 | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Linux system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| libwebkit2gtk-4.1-dev \ | |
| build-essential \ | |
| curl \ | |
| wget \ | |
| file \ | |
| libxdo-dev \ | |
| libssl-dev \ | |
| libayatana-appindicator3-dev \ | |
| librsvg2-dev | |
| - 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: x86_64-unknown-linux-gnu | |
| - 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 Linux 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 Linux build for riida." | |
| releaseDraft: true | |
| prerelease: false | |
| args: --target x86_64-unknown-linux-gnu | |
| - name: Build Linux 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 x86_64-unknown-linux-gnu |