Skip to content

Fix lyrics

Fix lyrics #190

name: Gradle Plugin CI
on:
push:
branches:
- main
paths:
- gradle/libs.versions.toml
pull_request:
paths:
- gradle-plugin/**
types:
- opened
- synchronize
env:
BUILD_PLUGIN_CI: true
jobs:
gradleValidation:
name: Gradle Wrapper
runs-on: ubuntu-latest
steps:
- name: Fetch Sources
uses: actions/checkout@v3
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1
build:
runs-on: ubuntu-latest
needs: gradleValidation
steps:
- uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 21
- name: Test with Gradle
run: ./gradlew gradle-plugin:classes
- name: Login to Gradle Plugin Portal
if: "github.event_name == 'push'"
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'"
run: ./gradlew :gradle-plugin:publishPlugins