Skip to content

Update kordex version #232

Update kordex version

Update kordex version #232

name: Gradle Plugin CI
on:
push:
branches:
- main
paths:
- gradle/libs.versions.toml
- gradle-plugin
pull_request:
paths:
- gradle-plugin/**
types:
- opened
- synchronize
workflow_dispatch:
env:
BUILD_PLUGIN_CI: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 22
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: 22
- uses: gradle/actions/setup-gradle@v4
- name: Test with Gradle
run: ./gradlew gradle-plugin:check
- name: Login to Gradle Plugin Portal
if: "github.event_name == 'push' || github.event_name == 'workflow_dispatch'"
env:
GRADLE_CONFIG: ${{ secrets.GRADLE_CONFIG }}
run: echo "$GRADLE_CONFIG" > ~/.gradle/gradle.properties
- name: Update dependency list
run: ./rebuild-plugin-dependency-list.sh
- name: Gradle Publish
if: "github.event_name == 'push' || github.event_name == 'workflow_dispatch'"
run: ./gradlew :gradle-plugin:publishPlugins