Skip to content

Commit

Permalink
use regex
Browse files Browse the repository at this point in the history
  • Loading branch information
SiyaoIsHiding authored May 16, 2024
1 parent 77d633b commit e48b9eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/client-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ jobs:
- name: Run client app
run: |
cd $GITHUB_WORKSPACE/client
sed -i -E "s|\(<driver.version>\)[^<]*\(</driver.version>\)|\1${{ matrix.driver_version }}\2|" pom.xml
sed -i "s|\<driver.version>.*<\/driver.version>|<driver.version>{{ matrix.driver_version }}<\/driver.version>|" pom.xml
mvn compile exec:java -Dexec.mainClass="org.example.Main"

0 comments on commit e48b9eb

Please sign in to comment.