Fix: usar trunk en vez de dioxus-cli (mas ligero para ARM64)
Build & Deploy NutriApp / build-and-deploy (push) Failing after 12m45s
Build & Deploy NutriApp / build-and-deploy (push) Failing after 12m45s
This commit is contained in:
@@ -29,13 +29,12 @@ jobs:
|
|||||||
target
|
target
|
||||||
key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
|
||||||
- name: Install dioxus-cli + Build Frontend
|
- name: Build Frontend (WASM con trunk)
|
||||||
run: |
|
run: |
|
||||||
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
|
rustup target add wasm32-unknown-unknown
|
||||||
cargo install dioxus-cli --version 0.6.3
|
cargo install trunk --locked
|
||||||
dx --version
|
|
||||||
cd frontend
|
cd frontend
|
||||||
dx build --release
|
trunk build --release
|
||||||
|
|
||||||
- name: Build Backend (Rust)
|
- name: Build Backend (Rust)
|
||||||
run: cargo build --release -p nutriapp-backend
|
run: cargo build --release -p nutriapp-backend
|
||||||
|
|||||||
Reference in New Issue
Block a user