Skip to content

Commit 20f28f6

Browse files
committed
m
1 parent ed6fff6 commit 20f28f6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci_test_latest_released_mpl_java.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,13 @@ jobs:
5050
- name: Remove the -SNAPSHOT from the MPL version
5151
shell: bash
5252
run: |
53-
perl -i -pe 's/-SNAPSHOT//g' project.properties
53+
curl 'https://search.maven.org/solrsearch/select?q=a:aws-cryptographic-material-providers&rows=1' > xxx
54+
jq '.response.docs[0].latestVersion' < zzz | tr -d '"' > vvv
55+
fgrep -v mplDependencyJavaVersion < project.properties > project.properties2
56+
echo "mplDependencyJavaVersion=`cat vvv`" >> project.properties2
57+
mv project.properties2 project.properties
58+
rm -f xxx vvv project.properties2
59+
cat project.properties
5460

5561
- name: Setup Java ${{ matrix.java-version }}
5662
uses: actions/setup-java@v5

0 commit comments

Comments
 (0)