Create RLX3J189UQ #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "[android] E2E Test Nativebrik SDK" | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
jobs: | |
publish-e2e-app: | |
runs-on: ubuntu-latest | |
environment: | |
name: Only Main | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: setup jdk | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'zulu' | |
java-version: '21' | |
- name: build e2e app | |
working-directory: android | |
run: ./gradlew assembleRelease | |
- name: upload e2e app | |
working-directory: android | |
run: | | |
curl -L -X POST -F "file=@./e2e/build/outputs/apk/release/e2e-release-unsigned.apk" -H "Authorization: Token ${{ secrets.MAGICPOD_API_TOKEN }}" "https://app.magicpod.com/api/v1.0/Nativebrik.inc/Nativebrik/upload-file/" |