From 12820aecffa85c68aa76970b05f202a4977abcf6 Mon Sep 17 00:00:00 2001 From: Benjamin Eckel Date: Fri, 19 May 2023 15:35:35 -0500 Subject: [PATCH] fix: ignore already published manifest (#351) --- .github/workflows/release-rust.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-rust.yaml b/.github/workflows/release-rust.yaml index 17b328a..f656c2e 100644 --- a/.github/workflows/release-rust.yaml +++ b/.github/workflows/release-rust.yaml @@ -19,16 +19,20 @@ jobs: override: true target: ${{ matrix.target }} - - name: Release Rust Host SDK + - name: Release Rust Manifest Crate env: CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_API_TOKEN }} run: | # order of crate publication matter: manifest, runtime, rust - cargo publish --manifest-path manifest/Cargo.toml # allow for crates.io to update so dependant crates can locate extism-manifest sleep 5 + - name: Release Rust Host SDK + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_API_TOKEN }} + run: | + cargo publish --manifest-path runtime/Cargo.toml --no-verify cargo publish --manifest-path rust/Cargo.toml