Scripts: attempt to auto update android repo

This commit is contained in:
Pieter Vander Vennet 2025-06-17 00:17:34 +02:00
parent 3659276351
commit ef50e1dc5d

View file

@ -10,6 +10,10 @@ jobs:
steps:
- uses: https://source.mapcomplete.org/actions/checkout@v4
with:
persist-credentials: true
token: ${{ env.WRITE_TOKEN }}
- uses: https://source.mapcomplete.org/actions/setup-android@v3.2.2
- name: Set up Node.js
@ -42,6 +46,14 @@ jobs:
- name: prepare android build
run: npm run android:prepare
- name: update android repo
run: |
cd android
git add *
git commit -m "Add files for release ${{ github.ref_name }}"
git tag "${{ github.ref_name }}"
git push --tags
- name: Decode keystore
run: |
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 -d > ./android/app/release-key.jks