-
Notifications
You must be signed in to change notification settings - Fork 18
41 lines (36 loc) · 1.28 KB
/
build-examples.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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 libayatana-appindicator3-dev
- uses: dtolnay/rust-toolchain@stable
- uses: denoland/setup-deno@v1
with:
deno-version: v1.36 # lock this for now until `deno compile --output` is fixed
- uses: Swatinem/rust-cache@v2
- 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