Change release workflow to  adopt openjdk 8
@@ -22,9 +22,10 @@ jobs:
with:
node-version: 12
- name: Set up JDK 1.8
- uses: actions/setup-java@v1
+ uses: AdoptOpenJDK/install-jdk@v1
with:
- java-version: 1.8
+ version: '8'
+ architecture: x64
- name: Set up settings.xml
run: |
echo "<settings><servers><server><id>${{ secrets.OSSRH_ID }}</id><username>${{ secrets.OSSRH_USERNAME }}</username><password>${{ secrets.OSSRH_TOKEN }}</password></server></servers><profiles><profile><id>${{ secrets.OSSRH_ID }}</id><activation><activeByDefault>true</activeByDefault></activation><properties><gpg.executable>gpg</gpg.executable><gpg.passphrase>${{ secrets.GPG_PASSPHRASE}}</gpg.passphrase></properties></profile></profiles></settings>" > /home/runner/.m2/settings.xml
