Skip to content

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

🚀 [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 #6

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 JDK 8
uses: actions/setup-java@v2
with:
java-version: '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: release-${{ github.run_id }}
release_name: Release ${{ github.run_id }}
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