Skip to content

Commit

Permalink
Update nextjs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dprosper committed Oct 25, 2024
1 parent 3c8a963 commit 10a2e1d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,31 @@ jobs:
# working-directory: frontend-wasm
# run: |
# wasm-pack build --target web
- name: Set up Rust environment
uses: rustup-init/rustup-init-action@v1
with:
rust-previous-version: '1.82.0' # You can change this to your desired version of Rust

- name: Install dependencies
run: |
cargo build --release
- name: Generate WASM binaries
env:
WASM_TARGET: wasm32-unknown-unknown
run: |
cd frontend-wasm
cargo build --target $WASM_TARGET --release
echo "WASM binaries generated"
- name: Generate WASM binaries
env:
WASM_TARGET: wasm32-unknown-unknown
run: |
cd frontend-wasm
cargo build --target $WASM_TARGET --release
echo "WASM binaries generated"
- name: Detect package manager
id: detect-package-manager
run: |
Expand Down

0 comments on commit 10a2e1d

Please sign in to comment.