Skip to content

release-3.4.0.2

release-3.4.0.2 #36

Workflow file for this run

name: Pulsar-Spark Release
on:
release:
types: [created]
jobs:
upload:
name: Upload Release files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
- uses: actions/checkout@v2
with:
repository: streamnative/streamnative-ci
token: ${{ secrets.SNBOT_GITHUB_TOKEN }}
ref: master
path: ci
- name: Import GPG key
env:
SNBOT_SECRET_PASSPHRASE: ${{ secrets.SNBOT_SECRET_PASSPHRASE }}
run: |
ci/.github/bot/setup-git.sh
- name: Release Maven package
uses: samuelmeuli/action-maven-publish@v1
with:
nexus_username: ${{ secrets.SONATYPE_USERNAME }}
nexus_password: ${{ secrets.SONATYPE_PASSWORD }}
server_id: ossrh
maven_profiles: release
maven_goals_phases: clean deploy
maven_args: -DskipTests