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 3806959 commit fdc899f
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,30 +82,30 @@ jobs:
else
${{secrets.APP_ID_RELEASE}}
fi
# RELEASE_NOTE: |
# if [[ ${{ inputs.releaseNotes }} == "" ]]; then
# cat release_notes.txt
# else
# ${{inputs.releaseNotes}}
# fi
RELEASE_NOTE: |
if [[ ${{ inputs.releaseNotes }} == "" ]]; then
cat release_notes.txt
else
${{inputs.releaseNotes}}
fi
run: |
echo "SHARED_PREFERENCES_NAME=$SHARED_PREFERENCES_NAME" >> local.properties
echo "BASE_URL=$BASE_URL" >> local.properties
echo "BASE_URL_GQL=$BASE_URL_GQL" >> local.properties
echo "CLIENT_ID=$CLIENT_ID" >> local.properties
echo "CLIENT_SECRET=$CLIENT_SECRET" >> local.properties
- name: Set RELEASE_NOTE
id: set_release_note
run: |
RELEASE_NOTE=$(cat release_notes.txt)
echo "RELEASE_NOTE_TEXT<<EOF" >> $GITHUB_ENV
echo $RELEASE_NOTE >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
# - name: Set RELEASE_NOTE
# id: set_release_note
# run: |
# RELEASE_NOTE=$(cat release_notes.txt)
# echo "RELEASE_NOTE_TEXT<<EOF" >> $GITHUB_ENV
# echo $RELEASE_NOTE >> $GITHUB_ENV
# echo "EOF" >> $GITHUB_ENV
# - name: Execute validations
# run: ./gradlew executeValidations
- name: Debug RELEASE_NOTE
run: |
echo "RELEASE_NOTE: $RELEASE_NOTE_TEXT"
echo "RELEASE_NOTE: $RELEASE_NOTE"
- name: Build App
run: ./gradlew assemble${BUILD_TYPE^}
env:
Expand All @@ -116,7 +116,7 @@ jobs:
appId: $APP_ID
serviceCredentialsFileContent: ${{ secrets.FIREBASE_TOKEN }}
groups: ${{ inputs.groupTester || 'qa' }}
releaseNotes: $RELEASE_NOTE_TEXT
releaseNotes: $RELEASE_NOTE
file: app/build/outputs/apk/${{ inputs.buildType || 'debug' }}/app-${{ inputs.buildType || 'debug' }}.apk
- name: Upload APK artifact
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit fdc899f

Please sign in to comment.