diff --git a/.github/actions/version/action.yml b/.github/actions/version/action.yml index 67ca631f9..7dae9d92c 100644 --- a/.github/actions/version/action.yml +++ b/.github/actions/version/action.yml @@ -58,6 +58,6 @@ runs: awk -v version="${{ steps.version.outputs.VERSION }}" ' /^\[dependencies\]/ { in_dependencies=1 } /^\[/ && !/^\[dependencies\]/ { in_dependencies=0 } - in_dependencies && /path = ".*"/ { sub(/path = ".*"/, "version = \"" version "\"") } { print } + in_dependencies && /path = "[^"]*"/ { sub(/path = "[^"]*"/, "version = \"" version "\"") } { print } ' ${{ inputs.manifest-file }} > tmp.toml && mv tmp.toml ${{ inputs.manifest-file }} shell: bash