Skip to content

Commit

Permalink
Merge pull request #725 from iotaledger/fix/install-cargo-edit-for-wasm
Browse files Browse the repository at this point in the history
Install cargo-edit for Wasm releases, fix version bump in CI
  • Loading branch information
eike-hass authored Mar 17, 2022
2 parents c4e59db + 1c503f5 commit 81e0f25
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/actions/release/bump-versions/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ runs:
command: install
args: --version ^0.2 cargo-workspaces

- name: Install cargo-edit # to use cargo add
- name: Install cargo-edit # to use cargo add and set-version
uses: actions-rs/cargo@v1
if: ${{inputs.release-target == 'rust'}}
with:
command: install
args: -f --no-default-features --features "add set-version" --version ^0.8 cargo-edit
Expand All @@ -44,9 +43,9 @@ runs:
if: ${{inputs.release-target == 'rust'}}
working-directory: bindings/stronghold-nodejs
run: |
cargo add identity-core@=${{ inputs.version }} --path=../../identity
cargo add identity-iota-core@=${{ inputs.version }} --path=../../identity
cargo add identity-account-storage@=${{ inputs.version }} --path=../../identity
cargo add identity-core@=${{ inputs.version }} --path=../../identity-core
cargo add identity-iota-core@=${{ inputs.version }} --path=../../identity-iota-core
cargo add identity-account-storage@=${{ inputs.version }} --path=../../identity-account-storage
- name: Bump Rust crate version
shell: bash
Expand Down

0 comments on commit 81e0f25

Please sign in to comment.