Skip to content

🚀 [VIS-4480] Get maestro working on android api level 24 and above and build and deploy to github releases #4

🚀 [VIS-4480] Get maestro working on android api level 24 and above and build and deploy to github releases

🚀 [VIS-4480] Get maestro working on android api level 24 and above and build and deploy to github releases #4

Workflow file for this run

name: Build Maestro for Dojo
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Java JDK 8
uses: actions/setup-java@v2
with:
java-version: '1.8'
distribution: 'adopt'
- name: Assemble APKs
run: ./gradlew :maestro-android:assembleAndroidTest :maestro-android:assemble
- name: Install maestro-cli
run: ./gradlew :maestro-cli:installDist -q
- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Upload maestro-cli asset to GitHub release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./maestro-cli/build/install/maestro/bin/maestro
asset_name: maestro
asset_content_type: application/octet-stream