move building mweb higher for faster testing

This commit is contained in:
Matthew Fosse 2024-06-28 09:54:17 -07:00
parent 57cfeaed57
commit a6d604b071

View file

@ -87,6 +87,17 @@ jobs:
cd /opt/android/cake_wallet
flutter pub get
- name: build mweb
run: |
sudo apt-get install -y golang-go
cd /opt/android/cake_wallet
git clone https://github.com/ltcmweb/mwebd
cd /opt/android/cake_wallet/mwebd
go install github.com/ltcmweb/mwebd/cmd/mwebd@latest
gomobile bind -target=android -androidapi 21 github.com/ltcmweb/mwebd
mkdir -p /opt/android/cake_wallet/cw_mweb/android/libs/
mv ./mwebd.aar $_
- name: Generate KeyStore
run: |
cd /opt/android/cake_wallet/android/app
@ -163,17 +174,6 @@ jobs:
run: |
echo -e "id=com.cakewallet.test_${{ env.PR_NUMBER }}\nname=${{ env.BRANCH_NAME }}" > /opt/android/cake_wallet/android/app.properties
- name: build mweb
run: |
sudo apt-get install -y golang-go
cd /opt/android/cake_wallet
git clone https://github.com/ltcmweb/mwebd
cd /opt/android/cake_wallet/mwebd
go install github.com/ltcmweb/mwebd/cmd/mwebd@latest
gomobile bind -target=android -androidapi 21 github.com/ltcmweb/mwebd
mkdir -p /opt/android/cake_wallet/cw_mweb/android/libs/
mv ./mwebd.aar $_
- name: Build
run: |
cd /opt/android/cake_wallet