CET-18547 Includes closedDate into PullRequest object to avoid additi… #4
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: Test and Gradle Publish | |
| on: [push] | |
| jobs: | |
| test: | |
| name: 'Test and Publish' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v3 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 17 | |
| - name: Run tests | |
| uses: gradle/gradle-build-action@v2 | |
| with: | |
| arguments: | |
| check | |
| - name: Publish with Gradle | |
| uses: gradle/gradle-build-action@v2 | |
| if: github.ref == 'refs/heads/master' | |
| env: | |
| GITHUB_USERNAME: ${{secrets.GITHUB_ACTOR}} | |
| GITHUB_PASSWORD: ${{secrets.GITHUB_TOKEN}} | |
| with: | |
| arguments: | |
| publish |