Skip to content

Fix failing tests

Fix failing tests #652

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/wrapper-validation-action@v1
- name: "Set up JDK 11"
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- uses: gradle/gradle-build-action@v2
name: Check Fladle
- name: Build and check
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 }}