Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 authored Nov 23, 2024
1 parent 798eef2 commit 1a80caa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/build_android/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ runs:
env:
ANDROID_KEY_JKS: ${{ inputs.android-key-jks }}
- name: Build APK
if: ${{ inputs.version }} == 'apk'
if: ${{ inputs.build-mode }} == 'apk'
shell: bash
run: flutter build apk --split-debug-info=./symbols --obfuscate --build-number="$BUILD_NUMBER" --build-name="$VERSION" --dart-define=SENTRY_DSN="$SENTRY_DSN" --dart-define=cronetHttpNoPlay=true
env:
Expand All @@ -59,7 +59,7 @@ runs:
SENTRY_DSN: ${{ inputs.sentry-dsn }}
#SENTRY_URL: ${{ inputs.sentry-url }}
- name: Build AppBundle
if: ${{ inputs.version }} == 'bundle'
if: ${{ inputs.build-mode }} == 'bundle'
shell: bash
run: flutter build appbundle --split-debug-info=./symbols --obfuscate --build-number="$BUILD_NUMBER" --build-name="$VERSION" --dart-define=SENTRY_DSN="$SENTRY_DSN"
env:
Expand All @@ -76,7 +76,7 @@ runs:
run: cd android && ./gradlew app:dependencies --configuration releaseCompileClasspath
- uses: actions/upload-artifact@v4
continue-on-error: true
if: runner.os == 'Linux' && ${{ inputs.version }} == 'apk'
if: runner.os == 'Linux' && ${{ inputs.build-mode }} == 'apk'
with:
name: artifact-${{ runner.os }}
path: build/app/outputs/apk

0 comments on commit 1a80caa

Please sign in to comment.