Enable the switch recipes as part of the Java 21 migration #5196
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: ci | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags-ignore: | |
| - "*" | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: {} | |
| schedule: | |
| - cron: 0 17 * * * | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| uses: openrewrite/gh-automation/.github/workflows/ci-gradle.yml@main | |
| with: | |
| java_version: | | |
| 25 | |
| 21 | |
| secrets: | |
| gradle_enterprise_access_key: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | |
| sonatype_username: ${{ secrets.SONATYPE_USERNAME }} | |
| sonatype_token: ${{ secrets.SONATYPE_TOKEN}} | |
| ossrh_signing_key: ${{ secrets.OSSRH_SIGNING_KEY }} | |
| ossrh_signing_password: ${{ secrets.OSSRH_SIGNING_PASSWORD }} | |
| OPS_GITHUB_ACTIONS_WEBHOOK: ${{ secrets.OPS_GITHUB_ACTIONS_WEBHOOK }} |