Skip to content

chore(deps): update github actions #2434

chore(deps): update github actions

chore(deps): update github actions #2434

Workflow file for this run

name: Release
on:
push:
branches:
- release/4.2.x
- release/5.0.x
permissions:
contents: read
jobs:
release:
runs-on: 'ubuntu-latest'
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up JDK
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4
with:
java-version: 17
distribution: 'zulu'
cache: 'maven'
server-id: ossrh
server-username: CI_DEPLOY_USERNAME
server-password: CI_DEPLOY_PASSWORD
- name: Build and Deploy
run: ./mvnw -B -V -ntp -DperformRelease=true deploy
env:
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}
MAVEN_GPG_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}