Bump christopherfrieler/gradle-wrapper-action from 0.7.0 to 0.7.2 #302
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: Build-Pipeline | |
| on: [ push, pull_request ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| java-version: '17' | |
| distribution: 'zulu' | |
| - name: Configure Sonar-Analysis | |
| run: | | |
| . ./.github/configureSonarAnalysis.sh | |
| - name: Build and check library | |
| uses: christopherfrieler/gradle-wrapper-action@0.7.2 | |
| env: | |
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
| with: | |
| arguments: | | |
| lintRelease testReleaseUnitTest sonar | |
| generatePomFileForMavenPublication assembleRelease kdocJar sourcesJar | |
| artifacts: | | |
| lint-report android-beans/build/reports/lint-results-release.* | |
| test-report android-beans/build/reports/tests/testReleaseUnitTest/**/* | |
| pom android-beans/build/publications/maven/pom-default.xml | |
| aar android-beans/build/outputs/aar/android-beans-*.aar | |
| kdoc android-beans/build/libs/android-beans-*-kdoc.jar | |
| sources android-beans/build/libs/android-beans-*-sources.jar | |
| deploy: | |
| if: startsWith(github.ref, 'refs/tags/') | |
| needs: ['build'] | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| java-version: '17' | |
| distribution: 'zulu' | |
| - name: Deploy to mavencentral | |
| uses: christopherfrieler/gradle-wrapper-action@0.7.2 | |
| env: | |
| ORG_GRADLE_PROJECT_signAllPublications: true | |
| ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.SIGNING_KEY_ID }} | |
| ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }} | |
| ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }} | |
| ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_PUBLISHING_USERNAME }} | |
| ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PUBLISHING_PASSWORD }} | |
| with: | |
| arguments: publishMavenPublicationToMavenCentralRepository | |
| - name: Prepare release info | |
| uses: softprops/action-gh-release@v3 | |
| with: | |
| tag_name: ${{ github.ref }} | |
| name: ${{ github.ref }} | |
| body: 'TODO: write changelog for this version!' | |
| draft: true | |
| token: ${{ secrets.GITHUB_TOKEN }} |