We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73a8ad7 commit 8ad5bc6Copy full SHA for 8ad5bc6
.github/workflows/Upload To Firebase App Distribution.yml
@@ -75,12 +75,4 @@ jobs:
75
appId: ${{secrets.FIREBASE_APP_ID}}
76
serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
77
groups: testers
78
- file: |
79
- if [[ "${{ github.event.inputs.environment }}" == "staging" ]]; then
80
- echo "app/build/outputs/apk/debug/app-debug.apk"
81
- elif [[ "${{ github.event.inputs.environment }}" == "release" ]]; then
82
- echo "app/build/outputs/apk/release/app-release.apk"
83
- else
84
- echo "Invalid environment selected"
85
- exit 1
86
- fi
+ file: ${{ github.event.inputs.environment == 'staging' && 'app/build/outputs/apk/debug/app-debug.apk' || 'app/build/outputs/apk/release/app-release.apk' }}
0 commit comments