ci: forgejo

This commit is contained in:
ardocrat
2025-11-05 13:26:05 +03:00
parent 8ba11daf31
commit 97d8b86d39
10 changed files with 315 additions and 44 deletions
+28
View File
@@ -0,0 +1,28 @@
on:
workflow_call:
inputs:
version:
required: true
type: string
jobs:
release:
runs-on: ubuntu
steps:
- uses: actions/checkout@v5
- run: mkdir release
- name: Setup Java build
run: |
chmod +x android/gradlew
echo "${{ secrets.ANDROID_KEYSTORE }}" > release.keystore.txt
base64 -d release.keystore.txt > android/keystore
echo "${{ secrets.ANDROID_KEYSTORE_PROPS }}" > release.keystore.props.txt
base64 -d release.keystore.props.txt > android/keystore.properties
- name: Release APKs
run: |
chmod +x scripts/android.sh && ./scripts/android.sh release ${{ inputs.version }}
mv android/grim* release
- uses: forgejo/upload-artifact@v4
with:
name: release_android
path: release/*