ver update #476
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: | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v2 | |
| with: | |
| java-version: 17 | |
| distribution: 'temurin' | |
| - name: Grant execute permissions for gradlew | |
| run: chmod +x ./gradlew | |
| - name: Set Gradle options | |
| run: echo "GRADLE_OPTS='-Xmx4g'" >> $GITHUB_ENV | |
| - name: Build and test | |
| run: ./gradlew build |