

#GITHUB ACTIONS APK#
We will use r0adkll/ this action will help us sign the android APK using our private signing keys as we already generated in the first step. Next, we run the build script to generate unsigned APK using the gradlew command already tested locally. In the first six steps, we mainly set up dependencies and requirements for our build, such as installing JDK, configuring cache for yarn and Gradle build system, and making the gradlew executable. jobs: we describe the workflow requirements such as the name and machine used to run the build.Įvery job has multiple steps when we can use a Github action from the marketplace or simply run a command.on: when we can run the workflow, in our case, whenever a new release has been published to Github,Īdding workflow_dispatch allows the user to trigger the workflow manually from Github UI.Go to your project and add the following script to package.json Īs you can see, the workflow contains three main attributes.
#GITHUB ACTIONS INSTALL#
To create a new app release, we will benefit from the javascript ecosystem and use the same tools used by libraries authors to automate creating npm and GitHub releases with changelog.įirst, install np and react-native-version yarn add np react-native-version -D Also as the setup is not that complicated and worth the time. I would recommend using tags, and GitHub releases to make your work easier and to have more visibility on project progress. Create a releasing process:Įven if you are working alone on a new project or think your project is simple, you don't want to complicate the process.

#GITHUB ACTIONS FREE#
#GITHUB ACTIONS CODE#
Most of our project's code is hosted on Github.Here are some reasons why we are using Github action to build React Native apps: We will try to make the workflow as easy as possible to make it easy for everyone coming from a web background to work with( no Fastlane 🤯 or at least no need to deal with it directly) Why Github action? In this article, i will share our approach to configuring react native apps with GitHub action to build and distribute new versions. Having a good automatic process to build and distribute new versions will help you release the app more frequently, make the feedback workflow much easier with your tester, and save you a ton of time to enjoy. 🚀 Don’t miss out – click the link now to learn more!Īs I have been building react native apps for a few years now, releasing a new app version to our tester is one of the most recurring tasks and time-consuming when it's done manually. – a production-ready solution for your next project! With TypeScript, environment variables, forms handling with validation, i18n, authentication, GitHub Actions, and much more, you’ll have everything you need to get started. 👋 Looking to build a React Native app with ease? Check out our open-source ⭐️Expo/React Native Starter⭐️
