Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Commit 06ada29

Browse files
Updates java version in push notification workflow (#187)
* Updates java version in push notification workflow * Update push-notification-jar.yml updated java version and cacert path in gradle command Co-authored-by: Rishabh Singh <[email protected]>
1 parent b274468 commit 06ada29

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/push-notification-jar.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ jobs:
2222
- name: Setup Java
2323
uses: actions/setup-java@v1
2424
with:
25-
java-version: '12'
25+
java-version: '13'
2626

2727
- name: Upload Notification Jar to Maven
2828
env:
2929
passphrase: ${{ secrets.PASSPHRASE }}
3030
run: |
3131
cd ..
32-
export JAVA12_HOME=$JAVA_HOME
32+
export JAVA13_HOME=$JAVA_HOME
3333
aws s3 cp s3://opendistro-docs/github-actions/pgp-public-key .
3434
aws s3 cp s3://opendistro-docs/github-actions/pgp-private-key .
3535
@@ -41,4 +41,4 @@ jobs:
4141
4242
cd alerting/notification
4343
44-
../gradlew publishShadowPublicationToSonatype-stagingRepository -Dcompiler.java=12 -Dbuild.snapshot=false -Djavax.net.ssl.trustStore=/opt/hostedtoolcache/jdk/12.0.2/x64/lib/security/cacerts
44+
../gradlew publishShadowPublicationToSonatype-stagingRepository -Dcompiler.java=13 -Dbuild.snapshot=false -Djavax.net.ssl.trustStore=/opt/hostedtoolcache/jdk/13.0.2/x64/lib/security/cacerts

0 commit comments

Comments
 (0)