Skip to content

.github/workflows/release.yml #293

.github/workflows/release.yml

.github/workflows/release.yml #293

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@v4
# 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: "[email protected]"
access-token: ${{ secrets.ACCESS_TOKEN }}