Skip to content

.github/workflows/release.yml #413

.github/workflows/release.yml

.github/workflows/release.yml #413

Workflow file for this run

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
create
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
release:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
# Runs a set of commands using the runners shell
- name: Release
uses: mwiede/github-actions-maven-release@master
with:
release-branch-name: "release"
gpg-enabled: "true"
gpg-key-id: ${{ secrets.GPG_ID }}
gpg-key: ${{ secrets.GPG_KEY }}
maven-repo-server-id: ${{ secrets.MVN_REPO_ID }}
maven-repo-server-username: ${{ secrets.MVN_REPO_PRIVATE_REPO_USER }}
maven-repo-server-password: ${{ secrets.MVN_REPO_PRIVATE_REPO_PASSWORD }}
#maven-args: "-Dmaven.javadoc.skip=true -DskipTests -DskipITs -Ddockerfile.skip -DdockerCompose.skip"
maven-args: "-Dgpg.passphrase="
git-release-bot-name: "release-bot"
git-release-bot-email: "mwiede@gmx.de"
access-token: ${{ secrets.ACCESS_TOKEN }}