feat: @FunctionalInterface support #59
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: Java CI with Gradle | |
| on: | |
| push: | |
| branches: [ dev ] | |
| pull_request: | |
| branches: [ dev ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up JDK 21 | |
| uses: actions/[email protected] | |
| with: | |
| java-version: '21' | |
| distribution: 'adopt' | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Build with Gradle | |
| run: ./gradlew build | |
| # upload file:///home/runner/work/ts-generator/ts-generator/build/reports/tests/test/index.html | |
| # Warning: No files were found with the provided path: ts-generator/build/reports/tests/test/. No artifacts will be uploaded. | |
| - name: Upload test report to GitHub Actions | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: 'test-report' | |
| path: 'build/reports/tests/test/' | |
| # upload file:///home/runner/work/ts-generator/ts-generator/build/libs/*.jar | |
| - name: Upload jar to GitHub Actions | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: 'ts-generator' # artifact name | |
| path: 'build/libs/' | |