File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -53,13 +53,10 @@ jobs:
5353 run : |
5454 echo $envIpAddress
5555 echo $envIpPort
56- echo "connectionString = ${envIpAddress}:${envIpPort}?network=external" >> $GITHUB_ENV
56+ echo "connectionString = $(echo "$ {envIpAddress}:${envIpPort}?network=external" | sed -e 's/[]$.*[\^]/\\&/g' ) " >> $GITHUB_ENV
5757 - name : fix connection string
58- uses : jacobtomlinson/gha-find-replace@master
59- with :
60- find : " 127.0.0.1"
61- replace : $connectionString
62- include : " src/main/java/org/couchbase/quickstart/configs/ConfigDb.java"
58+ run : |
59+ sed -i "s|127.0.0.1|$connectionString|" src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
6360 - name : validate file fix
6461 run : cat src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
6562 - name : Build with Maven
You can’t perform that action at this time.
0 commit comments