forked from MapComplete/MapComplete
Scripts: attempt to auto update android repo
This commit is contained in:
parent
3659276351
commit
ef50e1dc5d
1 changed files with 12 additions and 0 deletions
|
@ -10,6 +10,10 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: https://source.mapcomplete.org/actions/checkout@v4
|
- 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
|
- uses: https://source.mapcomplete.org/actions/setup-android@v3.2.2
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
|
@ -42,6 +46,14 @@ jobs:
|
||||||
- name: prepare android build
|
- name: prepare android build
|
||||||
run: npm run android:prepare
|
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
|
- name: Decode keystore
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 -d > ./android/app/release-key.jks
|
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 -d > ./android/app/release-key.jks
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue