• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Unable to run workflow, getting error

Hi all, i developed an android native app, and i want to build it to playstore from appcenter through github workflow pipelines, but while running the workflow iam getting this issue like below, can anybody please help me on this issue.

Iam providing the workflow syntax for better understanding.

name: deploy-apk
on:
workflow_dispatch:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+([0-9]+)'
env:
APP_CENTER_TOKEN: ${{ secrets.APP_CENTER_TOKEN_MYAPP_ANDROID_TEST }}
APP_NAME: ${{ 'kardas_apps/ENV_TEST' }}
TESTING_GROUP: ${{ 'ENV_TEST' }}
UPLOAD_FILE: ${{ 'android/app/build/outputs/apk/app-release.apk' }}
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: npm init
run: npm init
- name: Install dependencies
run: npm install
- name: Build android
run: npm run cd android && ./gradlew assembleRelease
- name: Upload to App Center
uses: wzieba/AppCenter-Github-Action@v1
with:
appName: ${{ env.APP_NAME }}
token: ${{ env.APP_CENTER_TOKEN }}
group: ${{ env.TESTING_GROUP }}
file: ${{ env.UPLOAD_FILE }}
notifyTesters: true
debug: false

Capture.JPG
 
Back
Top Bottom