Skip to content

Update Gradle plugin publish #629

Update Gradle plugin publish

Update Gradle plugin publish #629

Workflow file for this run

name: "CI"
on: [push, pull_request]
jobs:
validation:
name: "Building"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1
- uses: gradle/gradle-build-action@v2
name: Check Fladle
with:
job-id: jdk8
arguments: assembleDebug assembleDebugAndroidTest printYml check :fladle-plugin:check
- uses: gradle/gradle-build-action@v2
name: Publish Snapshot
if: ${{ github.ref == 'refs/heads/master' && github.event_name != 'pull_request' }}
with:
job-id: jdk8
arguments: :fladle-plugin:publishAllPublicationsToMavenRepository -Pfladle.releaseMode -PsonatypeUsername=${{ secrets.SONATYPE_USERNAME }} -PsonatypePassword=${{ secrets.SONATYPE_PASSWORD }}