File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ name: Update Rule Metadata
33on : workflow_dispatch
44
55env :
6- RULE_API_VERSION : 2.10.0.4287
76 PR_BRANCH_NAME : gh-action/update-rule-metadata
87
98jobs :
2726
2827 - name : Setup Rule API
2928 run : |
30- jfrog rt download "sonarsource-private-releases/com/sonarsource/rule-api/rule-api/${{ env.RULE_API_VERSION }}/rule-api-${{ env.RULE_API_VERSION }}.jar" --flat
29+ jfrog rt curl -sLf "sonarsource-private-releases/com/sonarsource/rule-api/rule-api/%5BRELEASE%5D/rule-api-%5BRELEASE%5D.jar" -o rule-api.jar
30+ echo "Latest com.sonarsource.rule-api:rule-api release:"
31+ jar xf rule-api.jar META-INF/MANIFEST.MF
32+ grep 'Implementation-Version' META-INF/MANIFEST.MF
3133 working-directory : /tmp
3234
3335 - name : Setup Java
3840
3941 - name : Update Files
4042 run : |
41- java -jar "/tmp/rule-api-${{ env.RULE_API_VERSION }} .jar" update
43+ java -jar "/tmp/rule-api.jar" update
4244 sed --in-place='' -e 's/rule:java:S3649/rule:javasecurity:S3649/g' 'sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2077.html'
4345
4446 - name : Create PR
You can’t perform that action at this time.
0 commit comments