test-ios-action-without-keychain #41
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: Build Android Appbundle | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: # Ermöglicht die manuelle Auslösung | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- uses: cedvdb/action-flutter-build-android@v1 | |
with: | |
keystore-base64: ${{ secrets.ANDROID_RELEASE_KEY }} | |
keystore-password: "${{ secrets.ANDROID_RELEASE_KEY_PASSWORD }}" | |
# optionals | |
build-cmd: flutter build appbundle | |
working-directory: ./ | |
- name: Archive APK | |
uses: actions/upload-artifact@v4 | |
with: | |
name: android-appbundle | |
# Try running the build locally with the build command to be sure of this path | |
path: build/app/outputs/bundle/release/app-release.aab |