(legacy) Remove apk upload instructions from github action
The legacy app is not a standalone application anymore, but a AAR
library embedded within the phoenix-android app.
@@ -67,38 +67,3 @@ jobs:
./gradlew clean
printf "\nskip.android=false" >> local.properties
./gradlew :phoenix-legacy:assembleDebug --stacktrace
-
- # 4 - sign apk
-
- - name: Retrieve signing key
- run: 'echo "$TESTNET_KEY_HEX" | xxd -r -p > signingkey'
- shell: bash
- env:
- TESTNET_KEY_HEX: ${{secrets.TESTNET_KEY_HEX}}
-
- - name: Sign artifact
- run: |
- mkdir upload
- mv phoenix/phoenix-legacy/build/outputs/apk/debug/phoenix-*-testnet-*.apk upload/phoenix-testnet-latest.apk
- /usr/local/lib/android/sdk/build-tools/29.0.3/apksigner sign --ks signingkey --ks-pass pass:$TESTNET_STORE_PASS --ks-key-alias $TESTNET_ALIAS --key-pass pass:$TESTNET_KEY_PASS upload/phoenix-testnet-latest.apk
- shell: bash
- env:
- TESTNET_STORE_PASS: ${{secrets.TESTNET_STORE_PASS}}
- TESTNET_ALIAS: ${{secrets.TESTNET_ALIAS}}
- TESTNET_KEY_PASS: ${{secrets.TESTNET_KEY_PASS}}
-
- # 5 - upload apk
-
- - name: Upload apk as artifact for this action
- uses: actions/upload-artifact@v2
- with:
- name: phoenix-testnet
- path: upload/phoenix-testnet-latest.apk
-
- - name: Upload to acinq.co
- run: |
- aws s3 cp ./upload/phoenix-testnet-latest.apk s3://acinq.co/pub/phoenix/
- env:
- AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
- AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- AWS_DEFAULT_REGION: 'eu-west-1'
