feat(packager): add Node.js bindings, ref #47 #93
Workflow file for this run
This file contains 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: Package examples | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- ".github/workflows/build-examples.yml" | |
- "crates/**" | |
- "examples/**" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
package: | |
if: ${{ !startsWith(github.head_ref, 'renovate/') }} | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install webkit2gtk | |
if: matrix.platform == 'ubuntu-latest' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y webkit2gtk-4.1 webkit2gtk-4.0 libayatana-appindicator3-dev | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: actions/setup-go@v4 | |
- uses: denoland/setup-deno@v1 | |
- uses: Swatinem/rust-cache@v2 | |
- run: go install github.com/wailsapp/wails/v2/cmd/wails@latest | |
- run: cargo install tauri-cli --version "2.0.0-alpha.10" --locked | |
- run: cargo install dioxus-cli --locked | |
- run: cargo r --package cargo-packager -- signer generate --password '123' --path ./signing-key -vvv | |
- run: cargo r --package cargo-packager -- --release --private-key ./signing-key --password '123' --formats all -vvv |