From 1f889591ed72e7bdc39b5296364f86e8c9c4f1c5 Mon Sep 17 00:00:00 2001 From: luoxiao Date: Mon, 8 Jan 2024 14:21:08 +0800 Subject: [PATCH] chore: add workflow --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff57e64..4914ac9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,3 +46,23 @@ jobs: run: | cd demo trunk build --release --features nightly + stable-cargo-leptos: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Setup Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + target: wasm32-unknown-unknown + override: true + - name: Install Trunk + uses: jetli/trunk-action@v0.4.0 + with: + version: "latest" + - name: Build + run: | + cd ./examples/ssr_axum + cargo leptos build --release