diff --git a/.github/workflows/release_production.yml b/.github/workflows/release_production.yml index dd275bac33b6..eb37f2f13295 100644 --- a/.github/workflows/release_production.yml +++ b/.github/workflows/release_production.yml @@ -31,6 +31,34 @@ jobs: repository: duckduckgo/android prefix: '5.' + - name: Decode upload keys + uses: davidSchuppa/base64Secret-toFile-action@v2 + with: + secret: ${{ secrets.UPLOAD_RELEASE_PROPERTIES }} + fileName: ddg_android_build_upload.properties + destination-path: $HOME/jenkins_static/com.duckduckgo.mobile.android/ + + - name: Decode key file + uses: davidSchuppa/base64Secret-toFile-action@v2 + with: + secret: ${{ secrets.UPLOAD_RELEASE_KEY }} + fileName: ddg-upload-keystore.jks + destination-path: $HOME/jenkins_static/com.duckduckgo.mobile.android/ + + - name: Decode Play Store credentials file + uses: davidSchuppa/base64Secret-toFile-action@v2 + with: + secret: ${{ secrets.UPLOAD_PLAY_CREDENTIALS }} + fileName: api.json + destination-path: $HOME/jenkins_static/com.duckduckgo.mobile.android/ + + - name: Decode Firebase credentials file + uses: davidSchuppa/base64Secret-toFile-action@v2 + with: + secret: ${{ secrets.UPLOAD_FIREBASE_CREDENTIALS }} + fileName: ddg-upload-firebase.json + destination-path: $HOME/jenkins_static/com.duckduckgo.mobile.android/ + - name: Clean project run: | ./gradleW clean