Skip to content

Commit

Permalink
add cargo install control
Browse files Browse the repository at this point in the history
  • Loading branch information
tomoyanonymous committed Dec 24, 2024
1 parent bb90371 commit a47e6df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install wasm-pack
run: cargo install wasm-pack
run: which wasm-pack || cargo install wasm-pack
- name: "mimium-test for web"
run: wasm-pack test --node
working-directory: mimium-test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/trigger_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ jobs:
- name: Run cargo release
if: ${{ !inputs.skip-cargo-release }}
run: |
cargo install cargo-release
which cargo-release || cargo install cargo-release
cargo release ${{ inputs.release_version }} --execute --no-confirm
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATEIO_TOKEN }}
- name: Run wasm-pack publish
if: ${{ !inputs.skip-wasm-pack-publish }}
run: |
cargo install wasm-pack
which wasm-pack || cargo install wasm-pack
wasm-pack build --target web
wasm-pack publish --target web
working-directory: mimium-web
Expand Down

0 comments on commit a47e6df

Please sign in to comment.