diff --git a/.github/workflows/java-versions.yml b/.github/workflows/java-versions.yml index 525f5129..25e317b7 100644 --- a/.github/workflows/java-versions.yml +++ b/.github/workflows/java-versions.yml @@ -32,8 +32,8 @@ jobs: # java11=6.0.1,6.9.4,7.0.2,7.6.1,8.0.2,8.1.1,8.2-rc-1 # -> # java11=8.2-rc-1 - # The trick is that \2 will greedily eat everything before the last comma. - sed -r 's/^(.*?)=(.*),(.*)$/\1=\3/g' -i stutter.lockfile + # The trick is that \3 will greedily eat everything before the last comma. + sed -r 's/^(.*?)=(.*?),(.*),(.*?)$/\1=\2,\4/g' -i stutter.lockfile cat stutter.lockfile - name: Test cross Java versions compatibility run: |