Merge pull request #45 from ntsk/release-1.3.0 #130
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build | |
| on: | |
| push: | |
| jobs: | |
| build: | |
| name: Build Gradle Plugin and Sample App | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 17 | |
| distribution: temurin | |
| - name: Cache Gradle dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.gradle/caches | |
| ~/.gradle/wrapper | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
| restore-keys: | | |
| ${{ runner.os }}-gradle- | |
| - name: Publish Plugin to Maven Local | |
| run: PLUGIN_ONLY=true ./gradlew :plugin:publishToMavenLocal | |
| - name: Build Sample App (assembleDebug) | |
| run: ./gradlew :sample:assembleDebug | |
| - name: Generate Schema Docs | |
| run: ./gradlew :sample:generateRoomSchemaDocs |