Skip to content

Prepare release v21.4.0 #21

Prepare release v21.4.0

Prepare release v21.4.0 #21

Workflow file for this run

name: Release maven package
on:
push:
branches:
- release/*
jobs:
pre-release-check:
uses: cucumber/.github/.github/workflows/prerelease-checks.yml@main
test-java:
uses: ./.github/workflows/test-java.yml
publish-mvn:
name: Publish Maven Package
needs: [pre-release-check, test-java]
runs-on: ubuntu-latest
environment: Release
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare
- uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "11"
cache: "maven"
- uses: cucumber/action-publish-mvn@v2.0.0
with:
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
nexus-username: cukebot
nexus-password: ${{ secrets.SONATYPE_PASSWORD }}
working-directory: java