{"id":15062503,"url":"https://github.com/nttld/setup-ndk","last_synced_at":"2025-04-05T08:06:36.540Z","repository":{"id":36977551,"uuid":"298669822","full_name":"nttld/setup-ndk","owner":"nttld","description":"Setup your GitHub Actions workflow with a specific version of the Android NDK","archived":false,"fork":false,"pushed_at":"2024-09-09T04:23:29.000Z","size":3894,"stargazers_count":73,"open_issues_count":5,"forks_count":25,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-23T10:41:54.358Z","etag":null,"topics":["actions","android","android-ndk","ndk"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/nttld.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}},"created_at":"2020-09-25T20:09:11.000Z","updated_at":"2025-03-18T14:52:57.000Z","dependencies_parsed_at":"2023-11-06T06:29:22.137Z","dependency_job_id":"d376b385-541f-464e-8763-1a0b9d7ee12e","html_url":"https://github.com/nttld/setup-ndk","commit_stats":{"total_commits":301,"total_committers":9,"mean_commits":33.44444444444444,"dds":0.2724252491694352,"last_synced_commit":"ba255cfe086fe76c82c0aff3c43560cdeb105f99"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nttld%2Fsetup-ndk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nttld%2Fsetup-ndk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nttld%2Fsetup-ndk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nttld%2Fsetup-ndk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nttld","download_url":"https://codeload.github.com/nttld/setup-ndk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246045720,"owners_count":20714832,"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":["actions","android","android-ndk","ndk"],"created_at":"2024-09-24T23:41:45.096Z","updated_at":"2025-03-29T07:07:32.495Z","avatar_url":"https://github.com/nttld.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# setup-ndk\n\nThis action sets up an Android NDK environment by downloading and caching a version of the NDK and optionally adding it to the PATH and linking it to the Android SDK.\n\n## Usage\n\nSee [action.yml](action.yml)\n\n### Basic\n\n```yml\nsteps:\n  - uses: actions/checkout@v3\n  - uses: nttld/setup-ndk@v1\n    with:\n      ndk-version: r26d\n  - run: ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk NDK_APPLICATION_MK=./Application.mk\n```\n\n### Using the installation path\n\n```yml\nsteps:\n  - uses: actions/checkout@v3\n  - uses: nttld/setup-ndk@v1\n    id: setup-ndk\n    with:\n      ndk-version: r21e\n      add-to-path: false\n  - run: ./build.sh\n    env:\n      ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}\n```\n\n### Linking to the SDK\n\n```yml\nsteps:\n  - uses: actions/checkout@v3\n  - uses: nttld/setup-ndk@v1\n    id: setup-ndk\n    with:\n      ndk-version: r26d\n      link-to-sdk: true\n  - run: ./gradlew build\n```\n\n### Caching locally for the workflow\n\n```yml\nsteps:\n  - uses: actions/checkout@v3\n  - uses: nttld/setup-ndk@v1\n    with:\n      ndk-version: r21e\n      local-cache: true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnttld%2Fsetup-ndk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnttld%2Fsetup-ndk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnttld%2Fsetup-ndk/lists"}