Skip to content

Release Smallrye Reactive Messaging #30

Release Smallrye Reactive Messaging

Release Smallrye Reactive Messaging #30

Workflow file for this run

name: Release Smallrye Reactive Messaging
on:
workflow_dispatch:
inputs:
previousVersion:
description: 'Previous version'
required: true
version:
description: 'Release version'
required: true
deployWebsite:
description: 'Shall we deploy the website?'
required: true
default: 'true'
clearRevAPI:
description: 'Shall we clear RevAPI justifications?'
required: true
default: 'true'
jobs:
release:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
SECRET_FILES_PASSPHRASE: ${{ secrets.SECRET_FILES_PASSPHRASE }}
RELEASE_VERSION: ${{ github.event.inputs.version }}
DEPLOY_WEBSITE: ${{ github.event.inputs.deployWebsite }}
CLEAR_REVAPI: ${{ github.event.inputs.clearRevAPI }}
JRELEASER_TAG_NAME: ${{ github.event.inputs.version }}
JRELEASER_PREVIOUS_TAG_NAME: ${{ github.event.inputs.previousVersion }}
JRELEASER_GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
steps:
- name: Git checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.RELEASE_TOKEN }}
- name: Java setup
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Install just
uses: taiki-e/install-action@just
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.9
cache: 'pipenv'
cache-dependency-path: documentation/Pipfile.lock
- name: Install pipenv
run: pip install pipenv
- name: Perform the release steps
run: |
curl -s "https://get.sdkman.io?rcupdate=false" | bash
source ~/.sdkman/bin/sdkman-init.sh && sdk install jbang
just perform-release