mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 12:09:43 +00:00
Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-251-fix-duplicate-nodes
This commit is contained in:
commit
f54e2ec00e
1 changed files with 14 additions and 1 deletions
15
.github/workflows/pr_test_build.yml
vendored
15
.github/workflows/pr_test_build.yml
vendored
|
@ -90,6 +90,9 @@ jobs:
|
||||||
echo "const anypayToken = '${{ secrets.ANY_PAY_TOKEN }}';" >> lib/.secrets.g.dart
|
echo "const anypayToken = '${{ secrets.ANY_PAY_TOKEN }}';" >> lib/.secrets.g.dart
|
||||||
echo "const ioniaClientId = '${{ secrets.IONIA_CLIENT_ID }}';" >> lib/.secrets.g.dart
|
echo "const ioniaClientId = '${{ secrets.IONIA_CLIENT_ID }}';" >> lib/.secrets.g.dart
|
||||||
|
|
||||||
|
- name: Rename app
|
||||||
|
run: sed -i -e "s/\${APP_NAME}/$GITHUB_HEAD_REF/g" /opt/android/cake_wallet/android/app/src/main/AndroidManifest.xml
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cd /opt/android/cake_wallet
|
cd /opt/android/cake_wallet
|
||||||
|
@ -111,6 +114,16 @@ jobs:
|
||||||
- name: Send Test APK
|
- name: Send Test APK
|
||||||
run: |
|
run: |
|
||||||
cd /opt/android/cake_wallet
|
cd /opt/android/cake_wallet
|
||||||
var=$(curl --upload-file build/app/outputs/apk/release/app-release.apk https://transfer.sh/app-release.apk)
|
var=$(curl --upload-file build/app/outputs/apk/release/app-release.apk https://transfer.sh/$GITHUB_HEAD_REF.apk -H "Max-Days: 10")
|
||||||
curl ${{ secrets.SLACK_WEB_HOOK }} -H "Content-Type: application/json" -d '{"apk_link": "'"$var"'","ticket": "'"$GITHUB_HEAD_REF"'"}'
|
curl ${{ secrets.SLACK_WEB_HOOK }} -H "Content-Type: application/json" -d '{"apk_link": "'"$var"'","ticket": "'"$GITHUB_HEAD_REF"'"}'
|
||||||
|
|
||||||
|
- name: Rename apk file
|
||||||
|
run: |
|
||||||
|
cd /opt/android/cake_wallet/build/app/outputs/apk/release
|
||||||
|
mkdir test-apk
|
||||||
|
mv app-release.apk test-apk/$GITHUB_HEAD_REF.apk
|
||||||
|
|
||||||
|
- name: Upload Artifact
|
||||||
|
uses: kittaakos/upload-artifact-as-is@v0
|
||||||
|
with:
|
||||||
|
path: /opt/android/cake_wallet/build/app/outputs/apk/release/test-apk/
|
||||||
|
|
Loading…
Reference in a new issue