Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WASM Build #59

Merged
merged 7 commits into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,15 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # for git describe
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Comment on lines +23 to +24
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed? I thought the default runners come w/ rust...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need to install them manually

- uses: Swatinem/rust-cache@v2
- name: Install wasm-pack
uses: jetli/[email protected]
with:
version: 'latest'
- name: build wasm
run: scripts/buildwasm
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
Expand All @@ -31,4 +39,4 @@ jobs:
- name: Deploy
run: |
VERSION=$(git describe --tags --match="v*" --abbrev=0)
uv run mike deploy $VERSION latest --update-aliases --push
uv run mike deploy $VERSION latest --update-aliases --push
Loading