Skip to content

Release to SDKMan

Release to SDKMan #2

Workflow file for this run

name: "Release to SDKMan"
on:
workflow_dispatch:
inputs:
version:
description: 'Version to release'
required: true
jobs:
sdkmanMinorRelease:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: "📥 Checkout repository"
uses: actions/checkout@v4
with:
ref: v${{ github.event.inputs.version }}
- name: "☕️ Setup JDK"
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
- name: "🐘 Setup Gradle"
uses: gradle/actions/setup-gradle@v4
- name: "🚀 Grails SDK Minor Release"
run: ./gradlew sdkMinorRelease
env:
GVM_SDKVENDOR_KEY: ${{ secrets.GVM_SDKVENDOR_KEY }}
GVM_SDKVENDOR_TOKEN: ${{ secrets.GVM_SDKVENDOR_TOKEN }}
- name: "Set output"
id: set_output
run: |
echo ::set-output name=release_version::$(cat $GITHUB_OUTPUT)
env:
GITHUB_OUTPUT: ${{ github.workspace }}/build/release_version