Skip to content

Update plugin gradle-plugin-publish to v1.3.0 #906

Update plugin gradle-plugin-publish to v1.3.0

Update plugin gradle-plugin-publish to v1.3.0 #906

Workflow file for this run

name: "CI"
on: [push, pull_request]
jobs:
validation:
name: "Building"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v4
- name: "Set up JDK 11"
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
- uses: gradle/actions/setup-gradle@v4
name: Setup Gradle
- name: Check Fladle
run: ./gradlew assembleDebug assembleDebugAndroidTest printYml check :fladle-plugin:check
- name: Publish Snapshot
if: ${{ github.ref == 'refs/heads/master' && github.event_name != 'pull_request' }}
run: ./gradlew :fladle-plugin:publishAllPublicationsToMavenRepository -Pfladle.releaseMode -PsonatypeUsername=${{ secrets.SONATYPE_USERNAME }} -PsonatypePassword=${{ secrets.SONATYPE_PASSWORD }}