{"id":19887966,"url":"https://github.com/usefulness/agp-version-finder-action","last_synced_at":"2026-03-09T19:01:37.825Z","repository":{"id":65162175,"uuid":"532799986","full_name":"usefulness/agp-version-finder-action","owner":"usefulness","description":"Find current stable and latest Android Gradle Plugin version for later use in GitHub Actions matrix","archived":false,"fork":false,"pushed_at":"2025-06-04T21:37:32.000Z","size":58,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-05T02:59:08.428Z","etag":null,"topics":["agp","android-gradle-plugin","github-actions","latest-version"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/usefulness.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-09-05T07:57:55.000Z","updated_at":"2025-06-04T21:37:34.000Z","dependencies_parsed_at":"2023-01-04T12:39:05.901Z","dependency_job_id":"1f5e9a0c-03cc-49ab-bd1e-4e7648f22634","html_url":"https://github.com/usefulness/agp-version-finder-action","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/usefulness/agp-version-finder-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usefulness%2Fagp-version-finder-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usefulness%2Fagp-version-finder-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usefulness%2Fagp-version-finder-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usefulness%2Fagp-version-finder-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usefulness","download_url":"https://codeload.github.com/usefulness/agp-version-finder-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usefulness%2Fagp-version-finder-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259944937,"owners_count":22935703,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agp","android-gradle-plugin","github-actions","latest-version"],"created_at":"2024-11-12T18:05:34.438Z","updated_at":"2026-03-09T19:01:37.740Z","avatar_url":"https://github.com/usefulness.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Android Gradle Plugin version finder - GitHub Action\n\n[![.github/workflows/pull_request.yml](https://github.com/usefulness/agp-version-finder-action/actions/workflows/pull_request.yml/badge.svg)](https://github.com/usefulness/agp-version-finder-action/actions/workflows/pull_request.yml)\n\nFind current stable and latest Android Gradle Plugin version for GitHub Actions matrix builds.\n\n## Usage\n\nThe action only exposes multiple `output`s containing latest version for each AGP release channel.\n\n### Configuration:\n#### Simple usage:\n```yml\n  jobs:\n    actual-tests:\n      runs-on: ubuntu-latest\n      strategy:\n        fail-fast: false\n        matrix:\n          javaVersion: [ 21 ]\n          gradle: [ current, release-candidate ]\n          agp: [ \"stable\", \"rc\", \"alpha\" ]\n      steps:\n        - id: agp-version-finder\n          uses: usefulness/agp-version-finder-action@v1\n          with:\n            version-to-resolve: ${{ matrix.agp }}\n\n        - run: echo ${{ steps.agp-version-finder.outputs.resolved-version }}\n```\n\n#### Extra: Use AGP version in job name:\n```yml\n  jobs:\n    provide-agp-version-matrix:\n      runs-on: ubuntu-latest\n      outputs:\n        agp-versions: ${{ steps.build-agp-matrix.outputs.agp-versions }}\n      steps:\n        # Fetch latest AGP versions\n        - id: agp-version-finder\n          uses: usefulness/agp-version-finder-action@v1\n\n        # Consume action outputs to build AGP matrix\n        - id: build-agp-matrix\n          run: echo 'agp-versions=[\"${{ steps.agp-version-finder.outputs.latest-stable }}\", \"${{ steps.agp-version-finder.outputs.latest-alpha }}\"]' \u003e\u003e $GITHUB_OUTPUT\n\n      actual-tests:\n        runs-on: ubuntu-latest\n        needs:\n          - provide-agp-version-matrix\n        strategy:\n          fail-fast: false\n          matrix:\n            javaVersion: [ 21 ]\n            gradle: [ current, release-candidate ]\n            # When evaluated will be replaced with array [\"7.2.2\", \"7.4.0-alpha13\"] \n            agp: ${{ fromJSON(needs.provide-agp-version-matrix.outputs.agp-versions) }}\n```\n[source](https://docs.github.com/en/actions/learn-github-actions/expressions#fromjson)\n\nAll available action outputs, representing respective AGP release channels:\n\n- `latest-stable` i.e. _\"7.2.2\"_\n- `latest-rc` i.e. _\"7.3.0-rc01\"_\n- `latest-beta` i.e. _\"7.3.0-beta02\"_\n- `latest-alpha`  i.e. _\"7.4.0-alpha13\"_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusefulness%2Fagp-version-finder-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusefulness%2Fagp-version-finder-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusefulness%2Fagp-version-finder-action/lists"}