# DevOps-ify Android libraries with GitHub Actions and Package Registry🚀

DevFeed: [DevOps-ify Android libraries with GitHub Actions and Package Registry🚀](<https://devfeed.tech/articles/devops-ify-android-libraries-with-github-actions-and-package-registry-25712.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/devops-ify-android-libraries-with-github-actions-and-package-registry-5e7f69a83622/>)

Author: Shreyas Patil

Published: 2020-10-02T10:29:52Z

Content type: tutorial

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Android](<https://devfeed.tech/topics/android.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [mobile devops](<https://devfeed.tech/topics/mobile-devops.md>), [Continuous integration](<https://devfeed.tech/topics/continuous-integration.md>), [Maven Central](<https://devfeed.tech/topics/maven-central.md>)

Tags: [actions](<https://devfeed.tech/tags/actions.md>), [android](<https://devfeed.tech/tags/android.md>), [android-library](<https://devfeed.tech/tags/android-library.md>), [automatically](<https://devfeed.tech/tags/automatically.md>), [bintray](<https://devfeed.tech/tags/bintray.md>), [ci](<https://devfeed.tech/tags/ci.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [configure](<https://devfeed.tech/tags/configure.md>), [devops](<https://devfeed.tech/tags/devops.md>), [github](<https://devfeed.tech/tags/github.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [learn](<https://devfeed.tech/tags/learn.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [others](<https://devfeed.tech/tags/others.md>), [package](<https://devfeed.tech/tags/package.md>), [private](<https://devfeed.tech/tags/private.md>), [public](<https://devfeed.tech/tags/public.md>), [registry](<https://devfeed.tech/tags/registry.md>), [safely](<https://devfeed.tech/tags/safely.md>)

## AI overview

The article describes configuring an Android library for GitHub Package Registry (GPR) and automating publication with GitHub Actions. Its workflow runs when a Git tag is pushed, publishes the library, and creates a GitHub release. GPR packages require an access token to consume, and the article presents it as an option for sharing private libraries with authenticated developers or an organization; it contrasts this with Bintray's paid private packages. The excerpt mentions Gradle publication configuration, package credentials supplied through environment variables, and assembling the artifact before publishing, but omits the specific configuration details.

## Source excerpt

Learn how to use GitHub Package Registry (GPR) and GitHub Actions to safely publish and consume private or public Android libraries with ease.