You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Pushed code to GitHub for .AAB, and commented out .APK
2. Error
build_android
Path does not exist /home/runner/work/lessimp/lessimp/build/app/outputs/apk/release/app-release.aab
build_android
Exit code 1 returned from process: file name '/home/runner/runners/2.291.1/bin/Runner.PluginHost', arguments 'action "GitHub.Runner.Plugins.Artifact.PublishArtifact, Runner.Plugins"'.
Steps to Reproduce:
1. Pushed code to GitHub for .AAB, and commented out .APK
2. Error
build_android
Path does not exist /home/runner/work/lessimp/lessimp/build/app/outputs/apk/release/app-release.aab
build_android
Exit code 1 returned from process: file name '/home/runner/runners/2.291.1/bin/Runner.PluginHost', arguments 'action "GitHub.Runner.Plugins.Artifact.PublishArtifact, Runner.Plugins"'.
3. GitHub Action YML file:
name: Playstore Deployment
on:
push:
branches:
- "main"
jobs:
CI
build_android:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 12.x
- name: Decrypt Android keys
run: sh ./.github/scripts/decrypt_android_secrets.sh
env:
ANDROID_KEYS_SECRET_PASSPHRASE: ${{ secrets.ANDROID_KEYS_SECRET_PASSPHRASE }}
- name: Setup Flutter
uses: subosito/flutter-action@v1
with:
flutter-version: 3.0.1
- name: Install Flutter dependencies
run: flutter pub get
# Add build runner commands here if you have any
- name: Build the APK
run: flutter build apk --release
- name: Upload artifact to Github
uses: actions/upload-artifact@v1
with:
name: release-apk
path: build/app/outputs/apk/release/app-release.apk
#CD
deploy_android:
name: Deploying to playstore
runs-on: ubuntu-latest
needs: [build_android]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 12.x
- name: Decrypt Android keys
run: sh ./.github/scripts/decrypt_android_secrets.sh
env:
ANDROID_KEYS_ZIP_PASSPHRASE: ${{ secrets.ANDROID_KEYS_ZIP_PASSPHRASE }}
- name: Setup Flutter
uses: subosito/flutter-action@v1
with:
flutter-version: 2.0.6
- run: flutter pub get
- run: flutter build apk --release
name: release-apk
path: build/app/outputs/apk/release/app-release.apk
The text was updated successfully, but these errors were encountered: