Skip to content

Commit

Permalink
Update debug.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarwillymc committed Jan 19, 2024
1 parent 8439311 commit 74cd1db
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ jobs:
echo "RELEASE_NOTE_TEXT<<EOF" >> $GITHUB_ENV
echo $RELEASE_NOTE >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
echo "APP_ID=$(if [ '${{ inputs.buildType }}' == 'release' ]; then echo '${{ secrets.APP_ID_RELEASE }}'; else echo '${{ secrets.APP_ID_DEBUG }}'; fi)" >> $GITHUB_ENV
# - name: Execute validations
# run: ./gradlew executeValidations
- name: Debug RELEASE_NOTE
Expand All @@ -110,7 +109,12 @@ jobs:
- name: upload artifact to Firebase App Distribution
uses: wzieba/Firebase-Distribution-Github-Action@v1
with:
appId: ${{ secrets.APP_ID_DEBUG }}
appId: |
if [[ ${{ inputs.buildType || 'debug' }} == 'debug' ]]; then
${{ secrets.APP_ID_DEBUG }}
else
${{ secrets.APP_ID_RELEASE }}
fi
serviceCredentialsFileContent: ${{ secrets.FIREBASE_TOKEN }}
groups: ${{ inputs.groupTester || 'qa' }}
releaseNotes: $RELEASE_NOTE_TEXT
Expand Down

0 comments on commit 74cd1db

Please sign in to comment.