Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 2.0.21 to 2.2.20 #422
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: ProgressDialog Library Build | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| if: (${{ github.event_name == 'push' }} && startsWith(github.ref, 'refs/tags/1')) || (${{ github.event_name == 'pull_request' }} && ${{ github.actor != 'dependabot[bot]' }}) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v4.7.0 | |
| with: | |
| java-version: 11 | |
| distribution: adopt | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| with: | |
| gradle-version: 7.4.2 | |
| - name: Build Library with Gradle | |
| run: gradle :progressdialoglibrary:clean :progressdialoglibrary:publishReleasePublicationToMavenLocal | |
| - name: Upload Output AAR file | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: progressdialoglibrary-release | |
| path: progressdialoglibrary/build/outputs/aar/progressdialoglibrary-release.aar |