File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ jobs:
102102 fi
103103
104104 publish-java-sdk :
105+ container : maven:3.6-jdk-11
105106 runs-on : [ubuntu-latest]
106107 needs : get-version
107108 steps :
@@ -131,10 +132,10 @@ jobs:
131132 GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
132133 MAVEN_SETTINGS : ${{ secrets.MAVEN_SETTINGS }}
133134 run : |
134- sudo echo -n "$GPG_PUBLIC_KEY" > /root/public-key
135- sudo echo -n "$GPG_PRIVATE_KEY" > /root/private-key
136- sudo echo -n "$MAVEN_SETTINGS" > /root/.m2/settings.xml
137- sudo infra/scripts/publish-java-sdk.sh --revision ${VERSION_WITHOUT_PREFIX} --gpg-key-import-dir /root
135+ echo -n "$GPG_PUBLIC_KEY" > /root/public-key
136+ echo -n "$GPG_PRIVATE_KEY" > /root/private-key
137+ echo -n "$MAVEN_SETTINGS" > /root/.m2/settings.xml
138+ infra/scripts/publish-java-sdk.sh --revision ${VERSION_WITHOUT_PREFIX} --gpg-key-import-dir /root
138139
139140 publish-helm-charts :
140141 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments