fix: update log #9
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 Standalone | |
| on: | |
| push: | |
| tags: | |
| - "standalone/*" | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| name: Build (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [macos-latest, ubuntu-latest, windows-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v1 | |
| with: | |
| bun-version: "latest" | |
| - name: Setup Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Install Linux dependencies | |
| if: matrix.os == 'ubuntu-latest' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev | |
| - name: Install frontend dependencies | |
| run: bun install | |
| working-directory: standalone | |
| - name: Extract release version | |
| run: echo "RELEASE_VERSION=${GITHUB_REF_NAME#standalone/}" >> "$GITHUB_ENV" | |
| - name: Build extension | |
| # Build both release and debug versions | |
| run: | | |
| cargo build --release | |
| cargo build | |
| working-directory: absurd-sqlite-extension | |
| - name: Build and release | |
| uses: tauri-apps/tauri-action@v0 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| # Use ad-hoc signing on macOS by setting identity to '-' per Tauri v2 docs: | |
| # https://v2.tauri.app/distribute/sign/macos/#ad-hoc-signing | |
| APPLE_SIGNING_IDENTITY: ${{ matrix.os == 'macos-latest' && '-' || '' }} | |
| with: | |
| projectPath: standalone | |
| tagName: ${{ github.ref_name }} | |
| releaseName: Standalone ${{ env.RELEASE_VERSION }} | |
| releaseBody: Automated release for ${{ env.RELEASE_VERSION }} | |
| includeDebug: true |