Skip to content

Commit

Permalink
Merge pull request #125 from second-state/release/wasmedge-sys-0.19.3
Browse files Browse the repository at this point in the history
[CI] Recover some nightly rust
  • Loading branch information
hydai authored Dec 3, 2024
2 parents 8f2a716 + 816cfa3 commit 6178754
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release-wasmedge-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ jobs:
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- -v ${{ inputs.wasmedge_version }} -p /usr/local
ldconfig
- name: Install Rust-stable
uses: dtolnay/rust-toolchain@stable
# must use nightly, because of the feature `doc_cfg`
- name: Install Rust-nightly
uses: dtolnay/rust-toolchain@nightly

- name: Dry run cargo publish
env:
Expand All @@ -57,7 +58,7 @@ jobs:
- name: Build API document
run: |
RUSTDOCFLAGS="--cfg docsrs" cargo doc -p wasmedge-sdk --workspace --no-deps --features aot,wasi_crypto,wasi_nn,wasmedge_process,ffi --target-dir=./target
RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc -p wasmedge-sdk --workspace --no-deps --features aot,wasi_crypto,wasi_nn,wasmedge_process,ffi --target-dir=./target
- name: Deploy API document
if: github.ref == 'refs/heads/main'
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release-wasmedge-sys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ jobs:
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- -v ${{ inputs.wasmedge_version }} -p /usr/local
ldconfig
- name: Install Rust-stable
uses: dtolnay/rust-toolchain@stable
# must use nightly, because of the feature `doc_cfg`
- name: Install Rust-nightly
uses: dtolnay/rust-toolchain@nightly

- name: Dry run cargo publish
env:
Expand All @@ -57,7 +58,7 @@ jobs:
- name: Build API document
run: |
RUSTDOCFLAGS="--cfg docsrs" cargo doc -p wasmedge-sys --workspace --no-deps --features aot,wasi_crypto,wasi_nn,wasmedge_process,ffi --target-dir=./target
RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc -p wasmedge-sys --workspace --no-deps --features aot,wasi_crypto,wasi_nn,wasmedge_process,ffi --target-dir=./target
- name: Deploy API document
if: github.ref == 'refs/heads/main'
Expand Down

0 comments on commit 6178754

Please sign in to comment.