Skip to content

update version to 3.8.2 and sdk version to 0.51.5 #60

update version to 3.8.2 and sdk version to 0.51.5

update version to 3.8.2 and sdk version to 0.51.5 #60

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Java and Maven
uses: actions/setup-java@v1
with:
java-version: 8
- name: Setup gpg
run: |
mkdir ~/.gnupg
echo use-agent >> ~/.gnupg/gpg.conf
echo pinentry-mode loopback >> ~/.gnupg/gpg.conf
echo allow-loopback-pinentry >> ~/.gnupg/gpg-agent.conf
- name: Release Maven package
uses: samuelmeuli/action-maven-publish@v1
with:
gpg_private_key: ${{ secrets.gpg_private_key }}
gpg_passphrase: ${{ secrets.gpg_passphrase }}
nexus_username: ${{ secrets.nexus_token_username }}
nexus_password: ${{ secrets.nexus_token_password }}
server_id: ossrh
maven_args: -DskipTests -X
- name: Publish to GitHub Packages
run: mvn clean package -DskipTests
- name: Upload Release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
omitName: true
artifacts: 'target/odps-jdbc-*.jar'
token: ${{ secrets.RELEASE_TOKEN }}