Skip to content

Commit

Permalink
Merge pull request #200 from ZettaScaleLabs/fix-sync-rust-version
Browse files Browse the repository at this point in the history
fix: typo in matrix attribute
  • Loading branch information
Mallets authored Jul 16, 2024
2 parents a380352 + fafaae0 commit 5fc3198
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sync-toolchains.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ jobs:
shell: bash

- name: Update ${{ matrix.dependant }}' rust-version in Cargo.toml to ${{ inputs.version }}
if: ${{ matrix.dependent }} == "zenoh"
if: ${{ matrix.dependant == 'zenoh' }}
run: sed "s;^rust-version = .*\$;rust-version = \"${{ inputs.version }}\";" --in-place Cargo.toml
shell: bash

- name: Update ${{ matrix.dependant }}' rust-version in zenoh-jni/Cargo.toml to ${{ inputs.version }}
if: contains(fromJSON('["zenoh-java", "zenoh-kotlin"]'), ${{ matrix.dependent }})
if: ${{ contains(fromJSON('["zenoh-java", "zenoh-kotlin"]'), matrix.dependant ) }}
run: sed "s;^rust-version = .*\$;rust-version = \"${{ inputs.version }}\";" --in-place zenoh-jni/Cargo.toml
shell: bash

Expand Down

0 comments on commit 5fc3198

Please sign in to comment.