File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -131,10 +131,10 @@ jobs:
131131 GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
132132 MAVEN_SETTINGS : ${{ secrets.MAVEN_SETTINGS }}
133133 run : |
134- echo -n "$GPG_PUBLIC_KEY" > /root/public-key
135- echo -n "$GPG_PRIVATE_KEY" > /root/private-key
136- echo -n "$MAVEN_SETTINGS" > /root/.m2/settings.xml
137- infra/scripts/publish-java-sdk.sh --revision ${VERSION_WITHOUT_PREFIX} --gpg-key-import-dir /root
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
138138
139139 publish-helm-charts :
140140 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments