Skip to content

sdk支持jdk17

sdk支持jdk17 #32

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Deploy To OSS
on:
push:
tags:
- 'v*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Java and Maven
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
maven-version: '3.8.8'
cache: 'maven'
- name: Release Maven package
uses: samuelmeuli/action-maven-publish@v1
with:
gpg_private_key: ${{ secrets.SIGNING_KEY }}
gpg_passphrase: ${{ secrets.SIGNING_PASSWORD }}
nexus_username: ${{ secrets.SONATYPE_USERNAME }}
nexus_password: ${{ secrets.SONATYPE_PASSWORD }}
server_id: ossrh
nexus_url: https://ossrh-staging-api.central.sonatype.com/