[Gradle Release Plugin] - pre tag commit: '1.10.2'. #43
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 and Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: zulu | |
| java-version: 11 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.x | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v3 | |
| with: | |
| gradle-version: wrapper | |
| - name: Install Yarn | |
| run: npm install -g yarn | |
| - name: Generate code and test suite data | |
| run: | | |
| cd codegen | |
| yarn install --verbose | |
| yarn build | |
| yarn generate | |
| yarn suite | |
| - name: Gradle build and test | |
| run: ./gradlew build | |