DOC-13516: Update Morpheus REST API builds #219
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
| # This workflow will build a Java project with Gradle | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | |
| name: Gradle CI | |
| on: | |
| pull_request: | |
| branches: [ release/8.0 ] | |
| merge_group: | |
| types: [checks_requested] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| ref: ${{ github.event.pull_request.head.ref }} | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v1 | |
| with: | |
| java-version: '11' | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Build with Gradle | |
| run: ./gradlew --rerun-tasks | |
| - name: Push output | |
| run: | | |
| git config user.name tech-comm-team-couchbase | |
| git config user.email tech-comm-team@couchbase.com | |
| git add . | |
| git commit -m "Build output documentation" || echo "No changes to push" | |
| git push |