Skip to content

Instantly share code, notes, and snippets.

View biklas7's full-sized avatar

António Valente biklas7

View GitHub Profile
@biklas7
biklas7 / firebase-test-lab-config.yml
Last active March 23, 2020 09:22
Android GitHub Actions Setup - Firebase Test Lab
android-pixel-4:
type: instrumentation
# Specify the path to the debug and test apks generated early
app: app/build/outputs/apk/staging/debug/app-staging-debug.apk
test: app/build/outputs/apk/androidTest/staging/debug/app-staging-debug-androidTest.apk
device:
- model: flame
version: 29
locale: 'en'
orientation: portrait
@biklas7
biklas7 / testing.yml
Last active February 8, 2024 21:51
Android GitHub Actions Setup - Testing
name: Testing Workflow
# Step 1: Choose the branch or branches you want to run this workflow
on:
pull_request:
branches:
- develop
jobs:
testing:
@biklas7
biklas7 / deploy.yml
Last active March 23, 2020 09:19
Android GitHub Actions Setup - Deploy
name: Deploy Workflow
# Step 1: Choose the branch or branches you want to run this workflow
on:
push:
branches:
- develop
jobs:
deploy:
@biklas7
biklas7 / README.md
Last active March 21, 2024 20:28
A Gradle task that generates and publish an Android .apk file to an S3 bucket.

Publish Android .apk file to an S3 bucket

Setup your S3 variables

You can either set up the S3 variables for all projects or per individual project if you prefer. In this example, I will do it for all projects. Just open the build.gradle file and add the following code.

allprojects {
    project.ext.AWS_S3_BUCKET = "YOUR BUCKET NAME"