Skip to content

[release] Prepare release 1.1.28 #12

[release] Prepare release 1.1.28

[release] Prepare release 1.1.28 #12

Workflow file for this run

name: Release to Maven Central
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Step 1 - Checkout repository code
uses: actions/checkout@v4
- name: Step 2 - Setup JDK
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
- name: Step 3 - deploy to Maven
run: ./scripts/mvn_deploy.sh
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
GPG_EXECUTABLE: gpg
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}
GPG_OWNERTRUST: ${{ secrets.GPG_OWNERTRUST }}
- name: Step 4 - Build client
run: ./scripts/build_client.sh
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: artifacts
path: |
${{ github.workspace }}/**/*.jar
${{ github.workspace }}/**/Dockerfile
overwrite: true
if-no-files-found: error
dockerhub:
needs: build
uses: ./.github/workflows/dockerhub.yml
secrets: inherit