Skip to content

Setup CI CD 21πŸ«ΈπŸŒ€βœοΈπŸ“— :octocat: #18

Setup CI CD 21πŸ«ΈπŸŒ€βœοΈπŸ“— :octocat:

Setup CI CD 21πŸ«ΈπŸŒ€βœοΈπŸ“— :octocat: #18

Workflow file for this run

name: Deploy Flutter App on AppCenter
on:
push:
branches:
- main
- 'releases/**'
jobs:
setup-flutter:
name: Setup Flutter
runs-on: ubuntu-latest
steps:
- run: echo "πŸŽ‰ Triggered by a ${{ github.event_name }} on ${{ github.ref }}"
- name: Check out repository code
uses: actions/checkout@v3
- name: Install jq
uses: dcarbone/install-jq-action@v2.0.2
- uses: subosito/flutter-action@v2
with:
channel: master
architecture: x64
- run: flutter pub get
setup-appcenter-cli: # must have node and npm installed!
name: Setup AppCenter CLI
runs-on: ubuntu-latest
steps:
- name: Install appcenter-cli
uses: charliealbright/appcenter-cli-action@v1.0.1
with:
token: '${{secrets.APPCENTER_API_TOKEN}}'
command: 'appcenter help'
# deploy_iOS:
# name: Deploy iOS
# needs: [setup-flutter, setup-appcenter-cli]
# uses: ./.github/workflows/deploy_ios.yml
deploy_android:
name: Deploy Android
needs: [ setup-flutter, setup-appcenter-cli ]
uses: ./.github/workflows/deploy_android.yml

Check failure on line 38 in .github/workflows/app_center.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/app_center.yml

Invalid workflow file

error parsing called workflow ".github/workflows/app_center.yml" -> "./.github/workflows/deploy_android.yml" (source branch with sha:1a366f1f9c42f2dbf7f9321b8b90748d8ee25a64) : You have an error in your yaml syntax on line 22
secrets: inherit
with:
file: './build/app/outputs/apk/release/app-release.apk'
name: 'PEMUDA-PERSIS/QuranPERSIS'